Pull request #269 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-usb-camera Loading trusted files from base branch main at 040a5a62acea184fdd41387d4dec6344494c5d71 rather than e15dd02ac2d6272e2b40c6a79eb758907f3eed36 Obtained Jenkinsfile from 040a5a62acea184fdd41387d4dec6344494c5d71 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-ssh2307992052095565493.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-ssh3847170131632974713.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-269/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-269/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16402162238260036600.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 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-ssh3251253321862519021.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-269/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-269/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17388205878137338297.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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-3358 in /w/workspace/foundry_device-usb-camera_PR-269 [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-269 # 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/269/head:refs/remotes/origin/PR-269 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 040a5a62acea184fdd41387d4dec6344494c5d71 into PR head commit e15dd02ac2d6272e2b40c6a79eb758907f3eed36 Merge succeeded, producing e15dd02ac2d6272e2b40c6a79eb758907f3eed36 Checking out Revision e15dd02ac2d6272e2b40c6a79eb758907f3eed36 (PR-269) > git config core.sparsecheckout # timeout=10 > git checkout -f e15dd02ac2d6272e2b40c6a79eb758907f3eed36 # 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 040a5a62acea184fdd41387d4dec6344494c5d71 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e15dd02ac2d6272e2b40c6a79eb758907f3eed36 # timeout=10 Commit message: "feat: addressed code review comments" > git rev-list --no-walk 6c1de3c835b81f01fbc17c12f609a477c9f0b6c9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-08-11T19:58:19.197Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-08-11T19:58:19.262Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-08-11T19:58:19.281Z] ========================================================= [2023-08-11T19:58:19.281Z] EdgeX Global Pipelines Version Info [2023-08-11T19:58:19.281Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-08-11T19:58:20.023Z] ------------------- [2023-08-11T19:58:20.023Z] stable info: [2023-08-11T19:58:20.023Z] ------------------- [2023-08-11T19:58:20.023Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-08-11T19:58:20.023Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-11T19:58:20.023Z] Message: update stable to v1.0.253 [2023-08-11T19:58:20.594Z] ------------------- [2023-08-11T19:58:20.594Z] experimental info: [2023-08-11T19:58:20.594Z] ------------------- [2023-08-11T19:58:20.594Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-08-11T19:58:20.594Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-11T19:58:20.594Z] Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-08-11T19:58:20.765Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2023-08-11T19:58:20.775Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2023-08-11T19:58:20.783Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-08-11T19:58:20.792Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-08-11T19:58:20.800Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-08-11T19:58:20.817Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-08-11T19:58:20.832Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-08-11T19:58:20.843Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-08-11T19:58:20.860Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-08-11T19:58:20.877Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-08-11T19:58:20.895Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-08-11T19:58:20.910Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2023-08-11T19:58:20.924Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-08-11T19:58:20.941Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-08-11T19:58:20.963Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-08-11T19:58:20.982Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-08-11T19:58:21.002Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-08-11T19:58:21.015Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-08-11T19:58:21.028Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-08-11T19:58:21.042Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-08-11T19:58:21.055Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-08-11T19:58:21.072Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-08-11T19:58:21.090Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-08-11T19:58:21.108Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-08-11T19:58:21.128Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-08-11T19:58:21.148Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-08-11T19:58:21.165Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-08-11T19:58:21.182Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-269 [Pipeline] echo [2023-08-11T19:58:21.193Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-269 [Pipeline] echo [2023-08-11T19:58:21.211Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-269 [Pipeline] echo [2023-08-11T19:58:21.231Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e15dd02ac2d6272e2b40c6a79eb758907f3eed36 [Pipeline] echo [2023-08-11T19:58:21.252Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e15dd02 [Pipeline] echo [2023-08-11T19:58:21.267Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-11T19:58:21.314Z] provisioning config files... [2023-08-11T19:58:21.327Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-269@tmp/config1326631462716889061tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-11T19:58:21.648Z] ---> docker-login.sh [2023-08-11T19:58:21.648Z] nexus3.edgexfoundry.org:10001 [2023-08-11T19:58:21.908Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-11T19:58:21.908Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-11T19:58:21.908Z] Configure a credential helper to remove this warning. See [2023-08-11T19:58:21.908Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-11T19:58:21.908Z] [2023-08-11T19:58:21.908Z] Login Succeeded [2023-08-11T19:58:21.908Z] nexus3.edgexfoundry.org:10002 [2023-08-11T19:58:22.179Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-11T19:58:22.179Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-11T19:58:22.179Z] Configure a credential helper to remove this warning. See [2023-08-11T19:58:22.179Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-11T19:58:22.179Z] [2023-08-11T19:58:22.179Z] Login Succeeded [2023-08-11T19:58:22.179Z] nexus3.edgexfoundry.org:10003 [2023-08-11T19:58:22.179Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-11T19:58:22.179Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-11T19:58:22.179Z] Configure a credential helper to remove this warning. See [2023-08-11T19:58:22.179Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-11T19:58:22.179Z] [2023-08-11T19:58:22.179Z] Login Succeeded [2023-08-11T19:58:22.179Z] nexus3.edgexfoundry.org:10004 [2023-08-11T19:58:22.439Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-11T19:58:22.439Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-11T19:58:22.439Z] Configure a credential helper to remove this warning. See [2023-08-11T19:58:22.439Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-11T19:58:22.439Z] [2023-08-11T19:58:22.439Z] Login Succeeded [2023-08-11T19:58:22.439Z] docker.io [2023-08-11T19:58:22.439Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-11T19:58:22.700Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-11T19:58:22.700Z] Configure a credential helper to remove this warning. See [2023-08-11T19:58:22.700Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-11T19:58:22.700Z] [2023-08-11T19:58:22.700Z] Login Succeeded [2023-08-11T19:58:22.700Z] ---> docker-login.sh ends [Pipeline] } [2023-08-11T19:58:22.709Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-08-11T19:58:23.088Z] + git rev-list -1 --merges e15dd02ac2d6272e2b40c6a79eb758907f3eed36~1..e15dd02ac2d6272e2b40c6a79eb758907f3eed36 [Pipeline] echo [2023-08-11T19:58:23.139Z] -----------> git rev-list -1 --merges e15dd02ac2d6272e2b40c6a79eb758907f3eed36~1..e15dd02ac2d6272e2b40c6a79eb758907f3eed36 e15dd02ac2d6272e2b40c6a79eb758907f3eed36 [false] [Pipeline] sh [2023-08-11T19:58:23.425Z] + git log --format=format:%s -1 e15dd02ac2d6272e2b40c6a79eb758907f3eed36 [Pipeline] echo [2023-08-11T19:58:23.438Z] ========================================================= [2023-08-11T19:58:23.438Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-08-11T19:58:23.438Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-11T19:58:23.764Z] + git log --format=format:%s -1 e15dd02ac2d6272e2b40c6a79eb758907f3eed36 [Pipeline] echo [2023-08-11T19:58:23.776Z] [semverPrep] GIT_COMMIT: e15dd02ac2d6272e2b40c6a79eb758907f3eed36, Commit Message: feat: addressed code review comments [Pipeline] echo [2023-08-11T19:58:23.784Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-08-11T19:58:24.156Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-11T19:58:24.156Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-08-11T19:58:24.156Z] + [ -e /tmp/ssh_known_hosts ] [2023-08-11T19:58:24.156Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-08-11T19:58:24.156Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-08-11T19:58:24.156Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-08-11T19:58:24.156Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-11T19:58:24.579Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-11T19:58:24.579Z] [2023-08-11T19:58:24.579Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-11T19:58:24.879Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-11T19:58:24.879Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-08-11T19:58:24.879Z] b85a868b505f: Pulling fs layer [2023-08-11T19:58:24.879Z] e2be974225ed: Pulling fs layer [2023-08-11T19:58:24.879Z] 339a4e72a1f5: Pulling fs layer [2023-08-11T19:58:24.879Z] 988bab9f4d93: Pulling fs layer [2023-08-11T19:58:24.879Z] 1469e6f7b9e6: Pulling fs layer [2023-08-11T19:58:24.879Z] eaf3925da568: Pulling fs layer [2023-08-11T19:58:24.879Z] bab4dde63d76: Pulling fs layer [2023-08-11T19:58:24.879Z] bde34c3a00c8: Pulling fs layer [2023-08-11T19:58:24.879Z] b352a97aabf1: Pulling fs layer [2023-08-11T19:58:24.879Z] 4872d77fe225: Pulling fs layer [2023-08-11T19:58:24.879Z] 5851b861e8e6: Pulling fs layer [2023-08-11T19:58:24.879Z] 988bab9f4d93: Waiting [2023-08-11T19:58:24.879Z] 1469e6f7b9e6: Waiting [2023-08-11T19:58:24.879Z] bde34c3a00c8: Waiting [2023-08-11T19:58:24.879Z] b352a97aabf1: Waiting [2023-08-11T19:58:24.879Z] eaf3925da568: Waiting [2023-08-11T19:58:24.879Z] bab4dde63d76: Waiting [2023-08-11T19:58:24.879Z] 5851b861e8e6: Waiting [2023-08-11T19:58:24.879Z] e2be974225ed: Verifying Checksum [2023-08-11T19:58:24.879Z] e2be974225ed: Download complete [2023-08-11T19:58:24.879Z] 988bab9f4d93: Verifying Checksum [2023-08-11T19:58:24.879Z] 988bab9f4d93: Download complete [2023-08-11T19:58:25.142Z] 1469e6f7b9e6: Verifying Checksum [2023-08-11T19:58:25.142Z] 1469e6f7b9e6: Download complete [2023-08-11T19:58:25.142Z] eaf3925da568: Verifying Checksum [2023-08-11T19:58:25.142Z] eaf3925da568: Download complete [2023-08-11T19:58:25.142Z] 339a4e72a1f5: Verifying Checksum [2023-08-11T19:58:25.142Z] 339a4e72a1f5: Download complete [2023-08-11T19:58:25.142Z] bde34c3a00c8: Download complete [2023-08-11T19:58:25.142Z] b352a97aabf1: Download complete [2023-08-11T19:58:25.142Z] 4872d77fe225: Verifying Checksum [2023-08-11T19:58:25.142Z] 4872d77fe225: Download complete [2023-08-11T19:58:25.142Z] 5851b861e8e6: Download complete [2023-08-11T19:58:25.142Z] b85a868b505f: Verifying Checksum [2023-08-11T19:58:25.142Z] b85a868b505f: Download complete [2023-08-11T19:58:25.406Z] bab4dde63d76: Verifying Checksum [2023-08-11T19:58:25.406Z] bab4dde63d76: Download complete [2023-08-11T19:58:26.342Z] b85a868b505f: Pull complete [2023-08-11T19:58:26.601Z] e2be974225ed: Pull complete [2023-08-11T19:58:27.170Z] 339a4e72a1f5: Pull complete [2023-08-11T19:58:27.170Z] 988bab9f4d93: Pull complete [2023-08-11T19:58:27.432Z] 1469e6f7b9e6: Pull complete [2023-08-11T19:58:27.432Z] eaf3925da568: Pull complete [2023-08-11T19:58:29.335Z] bab4dde63d76: Pull complete [2023-08-11T19:58:29.335Z] bde34c3a00c8: Pull complete [2023-08-11T19:58:29.594Z] b352a97aabf1: Pull complete [2023-08-11T19:58:29.594Z] 4872d77fe225: Pull complete [2023-08-11T19:58:29.594Z] 5851b861e8e6: Pull complete [2023-08-11T19:58:29.594Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-08-11T19:58:29.594Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-11T19:58:29.594Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-11T19:58:29.691Z] prd-ubuntu20.04-docker-8c-8g-3358 does not seem to be running inside a container [2023-08-11T19:58:29.724Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-269 -v /w/workspace/foundry_device-usb-camera_PR-269:/w/workspace/foundry_device-usb-camera_PR-269:rw,z -v /w/workspace/foundry_device-usb-camera_PR-269@tmp:/w/workspace/foundry_device-usb-camera_PR-269@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-11T19:58:32.406Z] $ docker top 2d1e34e453a9ec0f95b83326659bf6dc301437b75891cff7b93038cb1e3db94d -eo pid,comm [2023-08-11T19:58:32.465Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-08-11T19:58:32.465Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-11T19:58:32.500Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-11T19:58:32.500Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-11T19:58:32.617Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-11T19:58:32.624Z] $ docker exec 2d1e34e453a9ec0f95b83326659bf6dc301437b75891cff7b93038cb1e3db94d ssh-agent [2023-08-11T19:58:32.725Z] SSH_AUTH_SOCK=/tmp/ssh-IPtvUPLgIV1X/agent.32 [2023-08-11T19:58:32.725Z] SSH_AGENT_PID=38 [2023-08-11T19:58:32.732Z] Running ssh-add (command line suppressed) [2023-08-11T19:58:32.835Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-269@tmp/private_key_13830563250054409697.key (/w/workspace/foundry_device-usb-camera_PR-269@tmp/private_key_13830563250054409697.key) [2023-08-11T19:58:32.853Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-11T19:58:33.145Z] + git tag --points-at HEAD [Pipeline] } [2023-08-11T19:58:33.159Z] $ docker exec --env ******** --env ******** 2d1e34e453a9ec0f95b83326659bf6dc301437b75891cff7b93038cb1e3db94d ssh-agent -k [2023-08-11T19:58:33.259Z] unset SSH_AUTH_SOCK; [2023-08-11T19:58:33.259Z] unset SSH_AGENT_PID; [2023-08-11T19:58:33.259Z] echo Agent pid 38 killed; [2023-08-11T19:58:33.267Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-08-11T19:58:33.291Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-11T19:58:33.291Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-11T19:58:33.421Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-11T19:58:33.428Z] $ docker exec 2d1e34e453a9ec0f95b83326659bf6dc301437b75891cff7b93038cb1e3db94d ssh-agent [2023-08-11T19:58:33.531Z] SSH_AUTH_SOCK=/tmp/ssh-zjmNopsOE9rK/agent.71 [2023-08-11T19:58:33.531Z] SSH_AGENT_PID=77 [2023-08-11T19:58:33.535Z] Running ssh-add (command line suppressed) [2023-08-11T19:58:33.653Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-269@tmp/private_key_4482062686512575008.key (/w/workspace/foundry_device-usb-camera_PR-269@tmp/private_key_4482062686512575008.key) [2023-08-11T19:58:33.663Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-11T19:58:33.948Z] + git semver init [2023-08-11T19:58:34.207Z] 2023-08-11 19:58:34,133 [run_init] DEBUG init version:0.0.0 force:False [2023-08-11T19:58:34.208Z] 2023-08-11 19:58:34,134 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-269/.semver [2023-08-11T19:58:34.208Z] 2023-08-11 19:58:34,134 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-269/.semver [2023-08-11T19:58:34.208Z] 2023-08-11 19:58:34,135 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-269/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-269, universal_newlines=False, shell=None, istream=None) [2023-08-11T19:58:35.149Z] 2023-08-11 19:58:34,844 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-269/.git/info/exclude [2023-08-11T19:58:35.149Z] 2023-08-11 19:58:34,845 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-269/.semver/PR-269 with force:False [2023-08-11T19:58:35.149Z] 2023-08-11 19:58:34,845 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-269/.semver/PR-269 [2023-08-11T19:58:35.149Z] 2023-08-11 19:58:34,850 [execute] INFO git cat-file --batch-check [2023-08-11T19:58:35.149Z] 2023-08-11 19:58:34,850 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-269/.semver, universal_newlines=False, shell=None, istream=) [2023-08-11T19:58:35.149Z] 2023-08-11 19:58:34,858 [execute] INFO git cat-file --batch [2023-08-11T19:58:35.149Z] 2023-08-11 19:58:34,858 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-269/.semver, universal_newlines=False, shell=None, istream=) [2023-08-11T19:58:35.149Z] 2023-08-11 19:58:34,864 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-269/.semver/PR-269 [2023-08-11T19:58:35.149Z] 0.0.0 [Pipeline] } [2023-08-11T19:58:35.163Z] $ docker exec --env ******** --env ******** 2d1e34e453a9ec0f95b83326659bf6dc301437b75891cff7b93038cb1e3db94d ssh-agent -k [2023-08-11T19:58:35.265Z] unset SSH_AUTH_SOCK; [2023-08-11T19:58:35.265Z] unset SSH_AGENT_PID; [2023-08-11T19:58:35.266Z] echo Agent pid 77 killed; [2023-08-11T19:58:35.271Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-11T19:58:35.570Z] + git semver [Pipeline] } [2023-08-11T19:58:35.846Z] $ docker stop --time=1 2d1e34e453a9ec0f95b83326659bf6dc301437b75891cff7b93038cb1e3db94d [2023-08-11T19:58:37.138Z] $ docker rm -f --volumes 2d1e34e453a9ec0f95b83326659bf6dc301437b75891cff7b93038cb1e3db94d [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-11T19:58:37.477Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-08-11T19:58:37.679Z] Stashed 1 file(s) [Pipeline] echo [2023-08-11T19:58:37.681Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-11T19:58:37.834Z] provisioning config files... [2023-08-11T19:58:37.844Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-269@tmp/config7681686966176927408tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-11T19:58:38.141Z] ---> docker-login.sh [2023-08-11T19:58:38.141Z] nexus3.edgexfoundry.org:10001 [2023-08-11T19:58:38.141Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-11T19:58:38.141Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-11T19:58:38.141Z] Configure a credential helper to remove this warning. See [2023-08-11T19:58:38.141Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-11T19:58:38.141Z] [2023-08-11T19:58:38.141Z] Login Succeeded [2023-08-11T19:58:38.141Z] nexus3.edgexfoundry.org:10002 [2023-08-11T19:58:38.141Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-11T19:58:38.141Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-11T19:58:38.141Z] Configure a credential helper to remove this warning. See [2023-08-11T19:58:38.141Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-11T19:58:38.141Z] [2023-08-11T19:58:38.141Z] Login Succeeded [2023-08-11T19:58:38.141Z] nexus3.edgexfoundry.org:10003 [2023-08-11T19:58:38.401Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-11T19:58:38.401Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-11T19:58:38.401Z] Configure a credential helper to remove this warning. See [2023-08-11T19:58:38.401Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-11T19:58:38.401Z] [2023-08-11T19:58:38.401Z] Login Succeeded [2023-08-11T19:58:38.401Z] nexus3.edgexfoundry.org:10004 [2023-08-11T19:58:38.401Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-11T19:58:38.401Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-11T19:58:38.401Z] Configure a credential helper to remove this warning. See [2023-08-11T19:58:38.401Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-11T19:58:38.401Z] [2023-08-11T19:58:38.401Z] Login Succeeded [2023-08-11T19:58:38.401Z] docker.io [2023-08-11T19:58:38.660Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-11T19:58:38.660Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-11T19:58:38.661Z] Configure a credential helper to remove this warning. See [2023-08-11T19:58:38.661Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-11T19:58:38.661Z] [2023-08-11T19:58:38.661Z] Login Succeeded [2023-08-11T19:58:38.661Z] ---> docker-login.sh ends [Pipeline] } [2023-08-11T19:58:38.668Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-11T19:58:38.733Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-11T19:58:38.746Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-11T19:58:38.753Z] ========================================================= [2023-08-11T19:58:38.753Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-08-11T19:58:38.753Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-11T19:58:39.059Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-08-11T19:58:39.059Z] Sending build context to Docker daemon 2.205MB [2023-08-11T19:58:39.059Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-08-11T19:58:39.059Z] Step 2/13 : FROM ${BASE} AS builder [2023-08-11T19:58:39.059Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-08-11T19:58:39.059Z] 4db1b89c0bd1: Pulling fs layer [2023-08-11T19:58:39.059Z] 6911f1a30b25: Pulling fs layer [2023-08-11T19:58:39.059Z] e194b8c5c2a9: Pulling fs layer [2023-08-11T19:58:39.059Z] 6863d3e3a2b1: Pulling fs layer [2023-08-11T19:58:39.059Z] ec0bb842ea78: Pulling fs layer [2023-08-11T19:58:39.059Z] 40a00589a448: Pulling fs layer [2023-08-11T19:58:39.059Z] 6c08303d61cc: Pulling fs layer [2023-08-11T19:58:39.059Z] 798269fcf238: Pulling fs layer [2023-08-11T19:58:39.059Z] 6c08303d61cc: Waiting [2023-08-11T19:58:39.059Z] 798269fcf238: Waiting [2023-08-11T19:58:39.059Z] 6863d3e3a2b1: Waiting [2023-08-11T19:58:39.059Z] ec0bb842ea78: Waiting [2023-08-11T19:58:39.059Z] 40a00589a448: Waiting [2023-08-11T19:58:39.059Z] 6911f1a30b25: Download complete [2023-08-11T19:58:39.059Z] 6863d3e3a2b1: Download complete [2023-08-11T19:58:39.059Z] ec0bb842ea78: Verifying Checksum [2023-08-11T19:58:39.059Z] ec0bb842ea78: Download complete [2023-08-11T19:58:39.320Z] 4db1b89c0bd1: Verifying Checksum [2023-08-11T19:58:39.320Z] 4db1b89c0bd1: Download complete [2023-08-11T19:58:39.320Z] 40a00589a448: Verifying Checksum [2023-08-11T19:58:39.320Z] 40a00589a448: Download complete [2023-08-11T19:58:39.320Z] 4db1b89c0bd1: Pull complete [2023-08-11T19:58:39.602Z] 6911f1a30b25: Pull complete [2023-08-11T19:58:39.863Z] 798269fcf238: Verifying Checksum [2023-08-11T19:58:39.863Z] 798269fcf238: Download complete [2023-08-11T19:58:40.123Z] e194b8c5c2a9: Verifying Checksum [2023-08-11T19:58:40.123Z] e194b8c5c2a9: Download complete [2023-08-11T19:58:40.381Z] 6c08303d61cc: Verifying Checksum [2023-08-11T19:58:40.381Z] 6c08303d61cc: Download complete [2023-08-11T19:58:43.667Z] e194b8c5c2a9: Pull complete [2023-08-11T19:58:43.667Z] 6863d3e3a2b1: Pull complete [2023-08-11T19:58:43.667Z] ec0bb842ea78: Pull complete [2023-08-11T19:58:43.667Z] 40a00589a448: Pull complete [2023-08-11T19:58:46.196Z] 6c08303d61cc: Pull complete [2023-08-11T19:58:46.763Z] 798269fcf238: Pull complete [2023-08-11T19:58:46.763Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-08-11T19:58:46.763Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-08-11T19:58:46.763Z] ---> ec979cd7f677 [2023-08-11T19:58:46.763Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-08-11T19:58:51.486Z] ---> Running in f89b3311331a [2023-08-11T19:58:51.746Z] Removing intermediate container f89b3311331a [2023-08-11T19:58:51.746Z] ---> 314e2a1a59c2 [2023-08-11T19:58:51.746Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-11T19:58:51.746Z] ---> Running in f95326c1a3ac [2023-08-11T19:58:51.746Z] Removing intermediate container f95326c1a3ac [2023-08-11T19:58:51.746Z] ---> 908af38c8b47 [2023-08-11T19:58:51.746Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-08-11T19:58:51.746Z] ---> Running in 76971e59b3b0 [2023-08-11T19:58:52.005Z] Removing intermediate container 76971e59b3b0 [2023-08-11T19:58:52.005Z] ---> 374d925a1be7 [2023-08-11T19:58:52.005Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-08-11T19:58:52.005Z] ---> Running in fba8507e7ba7 [2023-08-11T19:58:52.005Z] Removing intermediate container fba8507e7ba7 [2023-08-11T19:58:52.005Z] ---> 78338bcf1007 [2023-08-11T19:58:52.005Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-11T19:58:52.005Z] ---> Running in ddcf271e066e [2023-08-11T19:58:52.265Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-11T19:58:52.525Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-11T19:58:52.784Z] Still waiting to schedule task [2023-08-11T19:58:52.784Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-08-11T19:58:52.785Z] (1/14) Installing libintl (0.21.1-r1) [2023-08-11T19:58:52.785Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-08-11T19:58:52.785Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-08-11T19:58:52.785Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-08-11T19:58:52.785Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-08-11T19:58:52.785Z] (6/14) Installing udev-init-scripts (35-r1) [2023-08-11T19:58:52.785Z] (7/14) Installing libblkid (2.38.1-r1) [2023-08-11T19:58:53.045Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-08-11T19:58:53.045Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-08-11T19:58:53.045Z] (10/14) Installing kmod-libs (30-r1) [2023-08-11T19:58:53.045Z] (11/14) Installing eudev (3.2.11-r4) [2023-08-11T19:58:53.045Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-08-11T19:58:53.045Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-08-11T19:58:53.045Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-08-11T19:58:53.045Z] Executing busybox-1.35.0-r29.trigger [2023-08-11T19:58:53.045Z] Executing eudev-3.2.11-r4.trigger [2023-08-11T19:58:53.045Z] OK: 272 MiB in 67 packages [2023-08-11T19:58:53.613Z] Removing intermediate container ddcf271e066e [2023-08-11T19:58:53.613Z] ---> f90abcb8d1ab [2023-08-11T19:58:53.613Z] Step 8/13 : WORKDIR /device-usb-camera [2023-08-11T19:58:53.613Z] ---> Running in b1f8dfb036cb [2023-08-11T19:58:53.613Z] Removing intermediate container b1f8dfb036cb [2023-08-11T19:58:53.613Z] ---> 7d4af4c8f23c [2023-08-11T19:58:53.613Z] Step 9/13 : COPY go.mod vendor* ./ [2023-08-11T19:58:53.872Z] ---> 7ac50e21603a [2023-08-11T19:58:53.872Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-11T19:58:53.872Z] ---> Running in e10d582ade8b [2023-08-11T19:59:32.617Z] Removing intermediate container e10d582ade8b [2023-08-11T19:59:32.617Z] ---> 32323519b818 [2023-08-11T19:59:32.617Z] Step 11/13 : COPY . . [2023-08-11T19:59:32.617Z] ---> aafa31bee499 [2023-08-11T19:59:32.617Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-08-11T19:59:32.617Z] ---> Running in cf93c52d180d [2023-08-11T19:59:32.617Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-11T19:59:32.617Z] Dload Upload Total Spent Left Speed [2023-08-11T19:59:32.617Z] 0 0 0 0 0  0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 7839 0 --:--:-- --:--:-- --:--:-- 7808 100 1062 100 1062 0 0 7833 0 --:--:-- --:--:-- --:--:-- 7808 [2023-08-11T19:59:32.617Z] Removing intermediate container cf93c52d180d [2023-08-11T19:59:32.617Z] ---> e1f978541883 [2023-08-11T19:59:32.617Z] Step 13/13 : RUN ${MAKE} [2023-08-11T19:59:32.617Z] ---> Running in 4a9c1e7e4c21 [2023-08-11T19:59:32.617Z] noop [2023-08-11T19:59:32.617Z] Removing intermediate container 4a9c1e7e4c21 [2023-08-11T19:59:32.617Z] ---> f6d1256cf828 [2023-08-11T19:59:32.617Z] Successfully built f6d1256cf828 [2023-08-11T19:59:32.617Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-11T19:59:32.922Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-11T19:59:32.922Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-11T19:59:32.997Z] prd-ubuntu20.04-docker-8c-8g-3358 does not seem to be running inside a container [2023-08-11T19:59:33.031Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-269 -v /w/workspace/foundry_device-usb-camera_PR-269:/w/workspace/foundry_device-usb-camera_PR-269:rw,z -v /w/workspace/foundry_device-usb-camera_PR-269@tmp:/w/workspace/foundry_device-usb-camera_PR-269@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-08-11T19:59:33.333Z] $ docker top c5b73c1865fe36a6905e439641afda1e9f27d5f712073198bed67353217d9348 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-11T19:59:33.670Z] + go version [2023-08-11T19:59:33.670Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-08-11T19:59:33.682Z] $ docker stop --time=1 c5b73c1865fe36a6905e439641afda1e9f27d5f712073198bed67353217d9348 [2023-08-11T19:59:34.927Z] $ docker rm -f --volumes c5b73c1865fe36a6905e439641afda1e9f27d5f712073198bed67353217d9348 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-11T19:59:35.333Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-11T19:59:35.333Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-11T19:59:35.405Z] prd-ubuntu20.04-docker-8c-8g-3358 does not seem to be running inside a container [2023-08-11T19:59:35.433Z] $ 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-269 -v /w/workspace/foundry_device-usb-camera_PR-269:/w/workspace/foundry_device-usb-camera_PR-269:rw,z -v /w/workspace/foundry_device-usb-camera_PR-269@tmp:/w/workspace/foundry_device-usb-camera_PR-269@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-08-11T19:59:35.751Z] $ docker top 1e70eaf97f4a4cf0a8a595c9397f2617adaa06056345bcbf1c2f65dc824fcf50 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-11T19:59:36.086Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-269 [Pipeline] fileExists [Pipeline] sh [2023-08-11T19:59:36.375Z] + make test [2023-08-11T19:59:36.375Z] go test ./... -coverprofile=coverage.out ./... [2023-08-11T19:59:41.637Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-08-11T19:59:51.603Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-08-11T19:59:51.604Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.021s coverage: 3.3% of statements [2023-08-11T19:59:58.164Z] go vet ./... [2023-08-11T20:00:02.354Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-11T20:00:02.354Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-11T20:00:02.354Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-08-11T20:00:02.367Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-11T20:00:02.381Z] $ docker stop --time=1 1e70eaf97f4a4cf0a8a595c9397f2617adaa06056345bcbf1c2f65dc824fcf50 [2023-08-11T20:00:05.914Z] $ docker rm -f --volumes 1e70eaf97f4a4cf0a8a595c9397f2617adaa06056345bcbf1c2f65dc824fcf50 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-11T20:00:06.358Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-11T20:00:06.413Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-08-11T20:00:06.914Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-11T20:00:07.198Z] + ls -al . [2023-08-11T20:00:07.198Z] total 208 [2023-08-11T20:00:07.198Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 11 19:59 . [2023-08-11T20:00:07.198Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 11 19:58 .. [2023-08-11T20:00:07.198Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 11 19:58 .git [2023-08-11T20:00:07.198Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 11 19:58 .github [2023-08-11T20:00:07.198Z] -rw-rw-r-- 1 jenkins jenkins 414 Aug 11 19:58 .gitignore [2023-08-11T20:00:07.198Z] -rw-rw-r-- 1 jenkins jenkins 45 Aug 11 19:58 .golangci.yml [2023-08-11T20:00:07.198Z] -rw-rw-r-- 1 jenkins jenkins 77 Aug 11 19:58 .hadolint.yml [2023-08-11T20:00:07.198Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 11 19:58 .semver [2023-08-11T20:00:07.198Z] -rw-rw-r-- 1 jenkins jenkins 9783 Aug 11 19:58 Attribution.txt [2023-08-11T20:00:07.198Z] -rw-rw-r-- 1 jenkins jenkins 11903 Aug 11 19:58 CHANGELOG.md [2023-08-11T20:00:07.198Z] -rw-rw-r-- 1 jenkins jenkins 2453 Aug 11 19:58 Dockerfile [2023-08-11T20:00:07.198Z] -rw-rw-r-- 1 jenkins jenkins 678 Aug 11 19:58 GOVERNANCE.md [2023-08-11T20:00:07.198Z] -rw-rw-r-- 1 jenkins jenkins 659 Aug 11 19:58 Jenkinsfile [2023-08-11T20:00:07.198Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 11 19:58 LICENSE [2023-08-11T20:00:07.198Z] -rw-rw-r-- 1 jenkins jenkins 2364 Aug 11 19:58 Makefile [2023-08-11T20:00:07.198Z] -rw-rw-r-- 1 jenkins jenkins 622 Aug 11 19:58 OWNERS.md [2023-08-11T20:00:07.198Z] -rw-rw-r-- 1 jenkins jenkins 2575 Aug 11 19:58 README.md [2023-08-11T20:00:07.198Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 11 19:58 VERSION [2023-08-11T20:00:07.198Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 11 19:58 bin [2023-08-11T20:00:07.198Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 11 19:58 cmd [2023-08-11T20:00:07.198Z] -rw-r--r-- 1 jenkins jenkins 47469 Aug 11 19:59 coverage.out [2023-08-11T20:00:07.198Z] -rwxrwxr-x 1 jenkins jenkins 140 Aug 11 19:58 docker-entrypoint.sh [2023-08-11T20:00:07.198Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 11 19:58 docs [2023-08-11T20:00:07.198Z] -rw-rw-r-- 1 jenkins jenkins 3416 Aug 11 19:58 go.mod [2023-08-11T20:00:07.198Z] -rw-rw-r-- 1 jenkins jenkins 31482 Aug 11 19:58 go.sum [2023-08-11T20:00:07.198Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 11 19:58 internal [2023-08-11T20:00:07.198Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 11 19:58 snap [2023-08-11T20:00:07.198Z] -rw-rw-r-- 1 jenkins jenkins 231 Aug 11 19:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-11T20:00:07.500Z] + 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=e15dd02ac2d6272e2b40c6a79eb758907f3eed36 --label arch=amd64 --label version=0.0.0 . [2023-08-11T20:00:07.501Z] Sending build context to Docker daemon 2.253MB [2023-08-11T20:00:07.501Z] Step 1/36 : ARG BASE=golang:1.20-alpine3.17 [2023-08-11T20:00:07.501Z] Step 2/36 : FROM ${BASE} AS builder [2023-08-11T20:00:07.501Z] ---> f6d1256cf828 [2023-08-11T20:00:07.501Z] Step 3/36 : ARG ADD_BUILD_TAGS="" [2023-08-11T20:00:07.501Z] ---> Running in 9e6dae10915c [2023-08-11T20:00:07.501Z] Removing intermediate container 9e6dae10915c [2023-08-11T20:00:07.501Z] ---> 948fff66b5ab [2023-08-11T20:00:07.501Z] Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-11T20:00:07.760Z] ---> Running in 9c4ff54dc397 [2023-08-11T20:00:07.760Z] Removing intermediate container 9c4ff54dc397 [2023-08-11T20:00:07.760Z] ---> 9e97a62e5ba8 [2023-08-11T20:00:07.760Z] Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-08-11T20:00:07.760Z] ---> Running in b98d05cfd133 [2023-08-11T20:00:07.760Z] Removing intermediate container b98d05cfd133 [2023-08-11T20:00:07.760Z] ---> a93863f61304 [2023-08-11T20:00:07.760Z] Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-08-11T20:00:07.760Z] ---> Running in 2bbeef85a212 [2023-08-11T20:00:07.760Z] Removing intermediate container 2bbeef85a212 [2023-08-11T20:00:07.760Z] ---> 1d93648a2a3a [2023-08-11T20:00:07.760Z] Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-11T20:00:08.018Z] ---> Running in 9219fe5ccde3 [2023-08-11T20:00:08.330Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-11T20:00:08.589Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-11T20:00:08.850Z] OK: 272 MiB in 67 packages [2023-08-11T20:00:09.110Z] Removing intermediate container 9219fe5ccde3 [2023-08-11T20:00:09.110Z] ---> 643ac8694d4e [2023-08-11T20:00:09.110Z] Step 8/36 : WORKDIR /device-usb-camera [2023-08-11T20:00:09.110Z] ---> Running in 0d26bbb0115f [2023-08-11T20:00:09.110Z] Removing intermediate container 0d26bbb0115f [2023-08-11T20:00:09.110Z] ---> 2d2fc219982b [2023-08-11T20:00:09.110Z] Step 9/36 : COPY go.mod vendor* ./ [2023-08-11T20:00:09.110Z] ---> 30a00516e6e5 [2023-08-11T20:00:09.110Z] Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-11T20:00:09.369Z] ---> Running in 3d10f1b5e78d [2023-08-11T20:00:09.934Z] Removing intermediate container 3d10f1b5e78d [2023-08-11T20:00:09.934Z] ---> 77cb3c75ada2 [2023-08-11T20:00:09.934Z] Step 11/36 : COPY . . [2023-08-11T20:00:10.501Z] ---> 4ce242508329 [2023-08-11T20:00:10.501Z] Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-08-11T20:00:10.501Z] ---> Running in d4df8a6431d7 [2023-08-11T20:00:10.501Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-11T20:00:10.501Z] Dload Upload Total Spent Left Speed [2023-08-11T20:00:10.760Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062  100  1062  0   0  21538  0 --:--:-- --:--:-- --:--:-- 21673 [2023-08-11T20:00:11.018Z] Removing intermediate container d4df8a6431d7 [2023-08-11T20:00:11.018Z] ---> 936744212a35 [2023-08-11T20:00:11.018Z] Step 13/36 : RUN ${MAKE} [2023-08-11T20:00:11.018Z] ---> Running in e53033f84c04 [2023-08-11T20:00:11.277Z] go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd [2023-08-11T20:00:27.446Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-3359 in /w/workspace/foundry_device-usb-camera_PR-269 [Pipeline] { [Pipeline] ws [2023-08-11T20:00:27.459Z] Running in /w/workspace/device-usb-camera/2 [Pipeline] { [Pipeline] checkout [2023-08-11T20:00:27.485Z] Selected Git installation does not exist. Using Default [2023-08-11T20:00:27.485Z] The recommended git tool is: NONE [2023-08-11T20:00:32.492Z] using credential edgex-jenkins-ssh [2023-08-11T20:00:32.510Z] Cloning the remote Git repository [2023-08-11T20:00:33.217Z] Removing intermediate container e53033f84c04 [2023-08-11T20:00:33.217Z] ---> 3b280304cd57 [2023-08-11T20:00:33.217Z] Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-08-11T20:00:33.217Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-08-11T20:00:33.217Z] 4acc49c71d14: Pulling fs layer [2023-08-11T20:00:33.217Z] 4acc49c71d14: Verifying Checksum [2023-08-11T20:00:33.217Z] 4acc49c71d14: Download complete [2023-08-11T20:00:33.217Z] 4acc49c71d14: Pull complete [2023-08-11T20:00:33.217Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-08-11T20:00:33.217Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-08-11T20:00:33.217Z] ---> 01a2bd3e5fff [2023-08-11T20:00:33.217Z] Step 15/36 : FROM alpine:3.17 [2023-08-11T20:00:33.217Z] 3.17: Pulling from library/alpine [2023-08-11T20:00:33.217Z] 9398808236ff: Pulling fs layer [2023-08-11T20:00:33.217Z] 9398808236ff: Download complete [2023-08-11T20:00:33.217Z] 9398808236ff: Pull complete [2023-08-11T20:00:33.217Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-11T20:00:33.217Z] Status: Downloaded newer image for alpine:3.17 [2023-08-11T20:00:33.217Z] ---> 1e0b8b5322fc [2023-08-11T20:00:33.217Z] Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-08-11T20:00:33.476Z] ---> Running in 74a8cfa05268 [2023-08-11T20:00:33.476Z] Removing intermediate container 74a8cfa05268 [2023-08-11T20:00:33.476Z] ---> 15a133f6fd1f [2023-08-11T20:00:33.476Z] Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-08-11T20:00:33.476Z] ---> Running in 6cbb6a626b95 [2023-08-11T20:00:32.551Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2023-08-11T20:00:32.644Z] > git init /w/workspace/device-usb-camera/2 # timeout=10 [2023-08-11T20:00:32.769Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-08-11T20:00:32.770Z] > git --version # timeout=10 [2023-08-11T20:00:32.792Z] > git --version # 'git version 2.25.1' [2023-08-11T20:00:32.795Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-11T20:00:32.941Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-11T20:00:33.729Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-08-11T20:00:33.735Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-11T20:00:33.993Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-11T20:00:34.253Z] (1/86) Installing dumb-init (1.2.5-r2) [2023-08-11T20:00:34.253Z] (2/86) Installing sdl2 (2.26.5-r0) [2023-08-11T20:00:34.253Z] (3/86) Installing svt-av1-libs (1.3.0-r0) [2023-08-11T20:00:34.253Z] (4/86) Installing libxau (1.0.10-r0) [2023-08-11T20:00:34.253Z] (5/86) Installing libmd (1.0.4-r0) [2023-08-11T20:00:34.253Z] (6/86) Installing libbsd (0.11.7-r0) [2023-08-11T20:00:34.253Z] (7/86) Installing libxdmcp (1.1.4-r0) [2023-08-11T20:00:34.253Z] (8/86) Installing libxcb (1.15-r0) [2023-08-11T20:00:34.253Z] (9/86) Installing libx11 (1.8.4-r1) [2023-08-11T20:00:34.253Z] (10/86) Installing aom-libs (3.5.0-r0) [2023-08-11T20:00:34.253Z] (11/86) Installing alsa-lib (1.2.8-r0) [2023-08-11T20:00:34.253Z] (12/86) Installing libexpat (2.5.0-r0) [2023-08-11T20:00:34.253Z] (13/86) Installing brotli-libs (1.0.9-r9) [2023-08-11T20:00:34.511Z] (14/86) Installing libbz2 (1.0.8-r4) [2023-08-11T20:00:34.511Z] (15/86) Installing libpng (1.6.39-r0) [2023-08-11T20:00:34.511Z] (16/86) Installing freetype (2.12.1-r0) [2023-08-11T20:00:34.511Z] (17/86) Installing fontconfig (2.14.1-r0) [2023-08-11T20:00:34.511Z] (18/86) Installing fribidi (1.0.12-r0) [2023-08-11T20:00:34.511Z] (19/86) Installing libffi (3.4.4-r0) [2023-08-11T20:00:34.511Z] (20/86) Installing libintl (0.21.1-r1) [2023-08-11T20:00:34.511Z] (21/86) Installing libblkid (2.38.1-r1) [2023-08-11T20:00:34.511Z] (22/86) Installing libmount (2.38.1-r1) [2023-08-11T20:00:34.511Z] (23/86) Installing pcre2 (10.42-r0) [2023-08-11T20:00:34.511Z] (24/86) Installing glib (2.74.7-r0) [2023-08-11T20:00:34.511Z] (25/86) Installing graphite2 (1.3.14-r2) [2023-08-11T20:00:34.511Z] (26/86) Installing harfbuzz (5.3.1-r1) [2023-08-11T20:00:34.511Z] (27/86) Installing libass (0.16.0-r1) [2023-08-11T20:00:34.511Z] (28/86) Installing libdav1d (1.0.0-r2) [2023-08-11T20:00:34.511Z] (29/86) Installing hwdata-pci (0.364-r0) [2023-08-11T20:00:34.511Z] (30/86) Installing libpciaccess (0.17-r0) [2023-08-11T20:00:34.511Z] (31/86) Installing libdrm (2.4.114-r0) [2023-08-11T20:00:34.511Z] (32/86) Installing gmp (6.2.1-r2) [2023-08-11T20:00:34.511Z] (33/86) Installing nettle (3.8.1-r0) [2023-08-11T20:00:34.511Z] (34/86) Installing p11-kit (0.24.1-r1) [2023-08-11T20:00:34.511Z] (35/86) Installing libtasn1 (4.19.0-r0) [2023-08-11T20:00:34.511Z] (36/86) Installing libunistring (1.1-r0) [2023-08-11T20:00:34.511Z] (37/86) Installing gnutls (3.7.8-r3) [2023-08-11T20:00:34.770Z] (38/86) Installing ncurses-terminfo-base (6.3_p20221119-r1) [2023-08-11T20:00:34.770Z] (39/86) Installing ncurses-libs (6.3_p20221119-r1) [2023-08-11T20:00:34.770Z] (40/86) Installing lame (3.100-r2) [2023-08-11T20:00:34.770Z] (41/86) Installing opus (1.3.1-r1) [2023-08-11T20:00:34.770Z] (42/86) Installing libasyncns (0.8-r1) [2023-08-11T20:00:34.770Z] (43/86) Installing dbus-libs (1.14.8-r0) [2023-08-11T20:00:34.770Z] (44/86) Installing libltdl (2.4.7-r1) [2023-08-11T20:00:34.770Z] (45/86) Installing orc (0.4.33-r0) [2023-08-11T20:00:34.770Z] (46/86) Installing libgcc (12.2.1_git20220924-r4) [2023-08-11T20:00:34.770Z] (47/86) Installing libogg (1.3.5-r2) [2023-08-11T20:00:34.770Z] (48/86) Installing libstdc++ (12.2.1_git20220924-r4) [2023-08-11T20:00:34.770Z] (49/86) Installing flac-libs (1.4.2-r0) [2023-08-11T20:00:34.770Z] (50/86) Installing libvorbis (1.3.7-r0) [2023-08-11T20:00:34.770Z] (51/86) Installing libsndfile (1.1.0-r2) [2023-08-11T20:00:34.770Z] (52/86) Installing libgomp (12.2.1_git20220924-r4) [2023-08-11T20:00:34.770Z] (53/86) Installing soxr (0.1.3-r3) [2023-08-11T20:00:34.770Z] (54/86) Installing speexdsp (1.2.1-r0) [2023-08-11T20:00:34.770Z] (55/86) Installing tdb-libs (1.4.6-r0) [2023-08-11T20:00:34.770Z] (56/86) Installing libpulse (16.1-r6) [2023-08-11T20:00:34.770Z] (57/86) Installing cjson (1.7.15-r3) [2023-08-11T20:00:34.770Z] (58/86) Installing mbedtls (2.28.4-r0) [2023-08-11T20:00:34.770Z] (59/86) Installing librist (0.2.7-r0) [2023-08-11T20:00:34.770Z] (60/86) Installing libsrt (1.5.1-r0) [2023-08-11T20:00:34.770Z] (61/86) Installing libssh (0.10.5-r0) [2023-08-11T20:00:34.770Z] (62/86) Installing libtheora (1.1.1-r16) [2023-08-11T20:00:34.770Z] (63/86) Installing libjpeg-turbo (2.1.4-r0) [2023-08-11T20:00:34.770Z] (64/86) Installing v4l-utils-libs (1.22.1-r2) [2023-08-11T20:00:34.770Z] (65/86) Installing libxext (1.3.5-r0) [2023-08-11T20:00:33.756Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-11T20:00:34.583Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-08-11T20:00:34.627Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-08-11T20:00:34.628Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-11T20:00:34.642Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/269/head:refs/remotes/origin/PR-269 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-08-11T20:00:35.028Z] (66/86) Installing libxfixes (6.0.0-r0) [2023-08-11T20:00:35.028Z] (67/86) Installing wayland-libs-client (1.21.0-r1) [2023-08-11T20:00:35.028Z] (68/86) Installing libva (2.16.0-r0) [2023-08-11T20:00:35.028Z] (69/86) Installing libvdpau (1.5-r0) [2023-08-11T20:00:35.028Z] (70/86) Installing vidstab (1.1.0-r2) [2023-08-11T20:00:35.028Z] (71/86) Installing libvpx (1.12.0-r1) [2023-08-11T20:00:35.028Z] (72/86) Installing libwebp (1.2.4-r2) [2023-08-11T20:00:35.028Z] (73/86) Installing x264-libs (0.164_git20220602-r0) [2023-08-11T20:00:35.028Z] (74/86) Installing numactl (2.0.16-r1) [2023-08-11T20:00:35.028Z] (75/86) Installing x265-libs (3.5-r3) [2023-08-11T20:00:35.028Z] (76/86) Installing xvidcore (1.3.7-r1) [2023-08-11T20:00:35.028Z] (77/86) Installing libsodium (1.0.18-r2) [2023-08-11T20:00:35.028Z] (78/86) Installing libzmq (4.3.4-r1) [2023-08-11T20:00:35.028Z] (79/86) Installing ffmpeg-libs (5.1.3-r0) [2023-08-11T20:00:35.284Z] Merging remotes/origin/main commit 040a5a62acea184fdd41387d4dec6344494c5d71 into PR head commit e15dd02ac2d6272e2b40c6a79eb758907f3eed36 [2023-08-11T20:00:35.288Z] (80/86) Installing ffmpeg (5.1.3-r0) [2023-08-11T20:00:35.288Z] (81/86) Installing udev-init-scripts (35-r1) [2023-08-11T20:00:35.288Z] (82/86) Installing eudev-libs (3.2.11-r4) [2023-08-11T20:00:35.288Z] (83/86) Installing xz-libs (5.2.9-r0) [2023-08-11T20:00:35.288Z] (84/86) Installing zstd-libs (1.5.5-r0) [2023-08-11T20:00:35.288Z] (85/86) Installing kmod-libs (30-r1) [2023-08-11T20:00:35.288Z] (86/86) Installing eudev (3.2.11-r4) [2023-08-11T20:00:35.288Z] Executing busybox-1.35.0-r29.trigger [2023-08-11T20:00:35.288Z] Executing eudev-3.2.11-r4.trigger [2023-08-11T20:00:35.288Z] OK: 112 MiB in 101 packages [2023-08-11T20:00:35.303Z] > git config core.sparsecheckout # timeout=10 [2023-08-11T20:00:35.373Z] > git checkout -f e15dd02ac2d6272e2b40c6a79eb758907f3eed36 # timeout=10 [2023-08-11T20:00:35.458Z] > git remote # timeout=10 [2023-08-11T20:00:35.480Z] > git config --get remote.origin.url # timeout=10 [2023-08-11T20:00:35.497Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-11T20:00:37.827Z] Removing intermediate container 6cbb6a626b95 [2023-08-11T20:00:37.827Z] ---> a958ea2902af [2023-08-11T20:00:37.827Z] Step 18/36 : WORKDIR / [2023-08-11T20:00:37.827Z] ---> Running in 4ac59d0bac04 [2023-08-11T20:00:37.827Z] Removing intermediate container 4ac59d0bac04 [2023-08-11T20:00:37.827Z] ---> 95309d376246 [2023-08-11T20:00:37.827Z] Step 19/36 : COPY --from=builder /device-usb-camera/cmd / [2023-08-11T20:00:38.395Z] ---> ad20a2c26f91 [2023-08-11T20:00:38.395Z] Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / [2023-08-11T20:00:38.395Z] ---> 7515d725167c [2023-08-11T20:00:38.395Z] Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-08-11T20:00:38.653Z] ---> d91929f7bea6 [2023-08-11T20:00:38.653Z] Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-08-11T20:00:38.653Z] ---> 96e0e60e3d37 [2023-08-11T20:00:38.653Z] Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-08-11T20:00:38.653Z] ---> ae73f3405955 [2023-08-11T20:00:38.653Z] Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-08-11T20:00:38.910Z] ---> 4932b1c3566b [2023-08-11T20:00:38.910Z] Step 25/36 : COPY --from=rtsp /rtsp-simple-server / [2023-08-11T20:00:39.013Z] Merge succeeded, producing e15dd02ac2d6272e2b40c6a79eb758907f3eed36 [2023-08-11T20:00:39.013Z] Checking out Revision e15dd02ac2d6272e2b40c6a79eb758907f3eed36 (PR-269) [2023-08-11T20:00:38.968Z] > git merge 040a5a62acea184fdd41387d4dec6344494c5d71 # timeout=10 [2023-08-11T20:00:38.993Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-08-11T20:00:39.023Z] > git config core.sparsecheckout # timeout=10 [2023-08-11T20:00:39.036Z] > git checkout -f e15dd02ac2d6272e2b40c6a79eb758907f3eed36 # timeout=10 [2023-08-11T20:00:39.476Z] ---> ca9ddcf8f0d4 [2023-08-11T20:00:39.476Z] Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-08-11T20:00:39.476Z] ---> Running in 93caa10eebe6 [2023-08-11T20:00:40.044Z] Removing intermediate container 93caa10eebe6 [2023-08-11T20:00:40.044Z] ---> ac595876bbf7 [2023-08-11T20:00:40.044Z] Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-08-11T20:00:40.044Z] ---> Running in dcda576f558c [2023-08-11T20:00:40.610Z] Removing intermediate container dcda576f558c [2023-08-11T20:00:40.610Z] ---> 4aa84d3c9d38 [2023-08-11T20:00:40.610Z] Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-08-11T20:00:40.610Z] ---> Running in 4eb413900635 [2023-08-11T20:00:41.177Z] Removing intermediate container 4eb413900635 [2023-08-11T20:00:41.177Z] ---> 3fb94f7dd508 [2023-08-11T20:00:41.177Z] Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml [2023-08-11T20:00:41.177Z] ---> Running in a6bdfd919985 [2023-08-11T20:00:41.743Z] Removing intermediate container a6bdfd919985 [2023-08-11T20:00:41.743Z] ---> 4dfccc13d9d8 [2023-08-11T20:00:41.743Z] Step 30/36 : EXPOSE 59983 [2023-08-11T20:00:41.743Z] ---> Running in dc7a219c07c5 [2023-08-11T20:00:41.743Z] Removing intermediate container dc7a219c07c5 [2023-08-11T20:00:41.743Z] ---> a21b6caa75e4 [2023-08-11T20:00:41.743Z] Step 31/36 : EXPOSE 8554 [2023-08-11T20:00:41.743Z] ---> Running in ad39dc43af5d [2023-08-11T20:00:42.001Z] Removing intermediate container ad39dc43af5d [2023-08-11T20:00:42.001Z] ---> 495f28991fe6 [2023-08-11T20:00:42.001Z] Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-08-11T20:00:42.001Z] ---> Running in 3fcbf2e23a03 [2023-08-11T20:00:42.001Z] Removing intermediate container 3fcbf2e23a03 [2023-08-11T20:00:42.001Z] ---> 2d5baf97deac [2023-08-11T20:00:42.001Z] Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-08-11T20:00:42.001Z] ---> Running in 62c319b22888 [2023-08-11T20:00:42.001Z] Removing intermediate container 62c319b22888 [2023-08-11T20:00:42.001Z] ---> dffabc8602a9 [2023-08-11T20:00:42.001Z] Step 34/36 : LABEL arch=amd64 [2023-08-11T20:00:42.001Z] ---> Running in 0d2a139a9b29 [2023-08-11T20:00:42.260Z] Removing intermediate container 0d2a139a9b29 [2023-08-11T20:00:42.260Z] ---> d4d4614259eb [2023-08-11T20:00:42.260Z] Step 35/36 : LABEL git_sha=e15dd02ac2d6272e2b40c6a79eb758907f3eed36 [2023-08-11T20:00:42.260Z] ---> Running in b252738baa58 [2023-08-11T20:00:42.260Z] Removing intermediate container b252738baa58 [2023-08-11T20:00:42.260Z] ---> e89bc331f1c1 [2023-08-11T20:00:42.260Z] Step 36/36 : LABEL version=0.0.0 [2023-08-11T20:00:42.260Z] ---> Running in 288d8bba7480 [2023-08-11T20:00:42.260Z] Removing intermediate container 288d8bba7480 [2023-08-11T20:00:42.260Z] ---> cd401896c6d2 [2023-08-11T20:00:42.260Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-11T20:00:42.260Z] Successfully built cd401896c6d2 [2023-08-11T20:00:42.260Z] Successfully tagged device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-11T20:00:42.480Z] Commit message: "feat: addressed code review comments" [2023-08-11T20:00:42.724Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-11T20:00:42.724Z] [2023-08-11T20:00:42.724Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-11T20:00:42.906Z] [2023-08-11T20:00:42.906Z] GitHub has been notified of this commit’s build result [2023-08-11T20:00:42.906Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-11T20:00:43.020Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-11T20:00:43.020Z] latest: Pulling from edgex-lftools-log-publisher [2023-08-11T20:00:43.020Z] 5eb5b503b376: Pulling fs layer [2023-08-11T20:00:43.020Z] 5c69ac0246d0: Pulling fs layer [2023-08-11T20:00:43.020Z] ec43610c2a17: Pulling fs layer [2023-08-11T20:00:43.020Z] 3a2ae6a8a46f: Pulling fs layer [2023-08-11T20:00:43.020Z] 33b1e0a273af: Pulling fs layer [2023-08-11T20:00:43.020Z] 5d3b04190fa2: Pulling fs layer [2023-08-11T20:00:43.020Z] 2f39f015ded8: Pulling fs layer [2023-08-11T20:00:43.020Z] 33b1e0a273af: Waiting [2023-08-11T20:00:43.020Z] 2f39f015ded8: Waiting [2023-08-11T20:00:43.020Z] 5d3b04190fa2: Waiting [2023-08-11T20:00:43.020Z] 3a2ae6a8a46f: Waiting [2023-08-11T20:00:43.020Z] 5c69ac0246d0: Verifying Checksum [2023-08-11T20:00:43.020Z] 5c69ac0246d0: Download complete [2023-08-11T20:00:43.020Z] 3a2ae6a8a46f: Verifying Checksum [2023-08-11T20:00:43.020Z] 3a2ae6a8a46f: Download complete [2023-08-11T20:00:43.020Z] 33b1e0a273af: Verifying Checksum [2023-08-11T20:00:43.020Z] 33b1e0a273af: Download complete [2023-08-11T20:00:43.020Z] 5d3b04190fa2: Verifying Checksum [2023-08-11T20:00:43.020Z] 5d3b04190fa2: Download complete [2023-08-11T20:00:43.294Z] ec43610c2a17: Verifying Checksum [2023-08-11T20:00:43.294Z] ec43610c2a17: Download complete [2023-08-11T20:00:43.294Z] 5eb5b503b376: Verifying Checksum [2023-08-11T20:00:43.294Z] 5eb5b503b376: Download complete [2023-08-11T20:00:43.441Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-08-11T20:00:43.441Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-11T20:00:43.441Z] Dload Upload Total Spent Left Speed [2023-08-11T20:00:43.441Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 81216 0 --:--:-- --:--:-- --:--:-- 81216 [Pipeline] sh [2023-08-11T20:00:43.859Z] 2f39f015ded8: Download complete [2023-08-11T20:00:44.127Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-08-11T20:00:44.426Z] 5eb5b503b376: Pull complete [2023-08-11T20:00:44.447Z] + sudo tee /etc/docker/daemon.new [2023-08-11T20:00:44.447Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-08-11T20:00:44.447Z] { [2023-08-11T20:00:44.447Z] "registry-mirrors": [ [2023-08-11T20:00:44.447Z] "https://nexus3.edgexfoundry.org:10001" [2023-08-11T20:00:44.447Z] ], [2023-08-11T20:00:44.447Z] "bip": "10.250.0.254/24", [2023-08-11T20:00:44.447Z] "hosts": [ [2023-08-11T20:00:44.447Z] "tcp://0.0.0.0:5555", [2023-08-11T20:00:44.447Z] "unix:///var/run/docker.sock" [2023-08-11T20:00:44.447Z] ], [2023-08-11T20:00:44.447Z] "mtu": 1458, [2023-08-11T20:00:44.447Z] "selinux-enabled": true, [2023-08-11T20:00:44.447Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-08-11T20:00:44.447Z] } [Pipeline] sh [2023-08-11T20:00:44.685Z] 5c69ac0246d0: Pull complete [2023-08-11T20:00:44.776Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-08-11T20:00:44.944Z] ec43610c2a17: Pull complete [2023-08-11T20:00:44.944Z] 3a2ae6a8a46f: Pull complete [2023-08-11T20:00:45.105Z] + sudo service docker restart [2023-08-11T20:00:45.202Z] 33b1e0a273af: Pull complete [2023-08-11T20:00:45.460Z] 5d3b04190fa2: Pull complete [2023-08-11T20:00:49.646Z] 2f39f015ded8: Pull complete [2023-08-11T20:00:49.646Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-08-11T20:00:49.646Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-11T20:00:49.646Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-11T20:00:49.728Z] prd-ubuntu20.04-docker-8c-8g-3358 does not seem to be running inside a container [2023-08-11T20:00:49.762Z] $ 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-269 -v /w/workspace/foundry_device-usb-camera_PR-269:/w/workspace/foundry_device-usb-camera_PR-269:rw,z -v /w/workspace/foundry_device-usb-camera_PR-269@tmp:/w/workspace/foundry_device-usb-camera_PR-269@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-08-11T20:00:54.402Z] $ docker top 5e40c3a512beb2afbb7787645bdcc48a56e1a39edeab43408d751c8df854b1d3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-11T20:00:54.802Z] ---> job-cost.sh [2023-08-11T20:00:54.802Z] lf-activate-venv: SKIPPING [2023-08-11T20:00:54.802Z] INFO: No Stack... [2023-08-11T20:00:56.726Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-11T20:00:56.985Z] INFO: Archiving Costs [Pipeline] sh [2023-08-11T20:00:57.279Z] + cat /w/workspace/foundry_device-usb-camera_PR-269/archives/cost.csv [2023-08-11T20:00:57.279Z] + cut -d, -f6 [Pipeline] lock [2023-08-11T20:00:57.294Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-269-2-stack-cost] [2023-08-11T20:00:57.301Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-269-2-stack-cost] did not exist. Created. [2023-08-11T20:00:57.301Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-269-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-11T20:00:57.616Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-08-11T20:00:57.644Z] Stashed 1 file(s) [Pipeline] } [2023-08-11T20:00:57.651Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-269-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-11T20:00:57.675Z] $ docker stop --time=1 5e40c3a512beb2afbb7787645bdcc48a56e1a39edeab43408d751c8df854b1d3 [2023-08-11T20:00:58.820Z] $ docker rm -f --volumes 5e40c3a512beb2afbb7787645bdcc48a56e1a39edeab43408d751c8df854b1d3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-11T20:01:03.364Z] provisioning config files... [2023-08-11T20:01:03.387Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/2@tmp/config7836274041202554937tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-11T20:01:03.732Z] ---> docker-login.sh [2023-08-11T20:01:03.732Z] nexus3.edgexfoundry.org:10001 [2023-08-11T20:01:04.002Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-11T20:01:04.271Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-11T20:01:04.271Z] Configure a credential helper to remove this warning. See [2023-08-11T20:01:04.271Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-11T20:01:04.271Z] [2023-08-11T20:01:04.271Z] Login Succeeded [2023-08-11T20:01:04.271Z] nexus3.edgexfoundry.org:10002 [2023-08-11T20:01:04.543Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-11T20:01:04.543Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-11T20:01:04.543Z] Configure a credential helper to remove this warning. See [2023-08-11T20:01:04.543Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-11T20:01:04.543Z] [2023-08-11T20:01:04.543Z] Login Succeeded [2023-08-11T20:01:04.543Z] nexus3.edgexfoundry.org:10003 [2023-08-11T20:01:04.813Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-11T20:01:05.083Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-11T20:01:05.083Z] Configure a credential helper to remove this warning. See [2023-08-11T20:01:05.083Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-11T20:01:05.083Z] [2023-08-11T20:01:05.083Z] Login Succeeded [2023-08-11T20:01:05.083Z] nexus3.edgexfoundry.org:10004 [2023-08-11T20:01:05.353Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-11T20:01:05.353Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-11T20:01:05.353Z] Configure a credential helper to remove this warning. See [2023-08-11T20:01:05.353Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-11T20:01:05.353Z] [2023-08-11T20:01:05.353Z] Login Succeeded [2023-08-11T20:01:05.353Z] docker.io [2023-08-11T20:01:05.620Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-11T20:01:05.884Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-11T20:01:05.884Z] Configure a credential helper to remove this warning. See [2023-08-11T20:01:05.884Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-11T20:01:05.884Z] [2023-08-11T20:01:05.884Z] Login Succeeded [2023-08-11T20:01:05.884Z] ---> docker-login.sh ends [Pipeline] } [2023-08-11T20:01:05.898Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-11T20:01:06.135Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-11T20:01:06.149Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-11T20:01:06.158Z] ========================================================= [2023-08-11T20:01:06.158Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-08-11T20:01:06.158Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-11T20:01:06.505Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-08-11T20:01:06.780Z] Sending build context to Docker daemon 1.397MB [2023-08-11T20:01:07.051Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-08-11T20:01:07.051Z] Step 2/13 : FROM ${BASE} AS builder [2023-08-11T20:01:07.051Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-08-11T20:01:07.051Z] edb6bdbacee9: Pulling fs layer [2023-08-11T20:01:07.051Z] 5f9638ab2659: Pulling fs layer [2023-08-11T20:01:07.051Z] 8d51d6327a98: Pulling fs layer [2023-08-11T20:01:07.051Z] 8b374f2dd631: Pulling fs layer [2023-08-11T20:01:07.051Z] ec14aa9079de: Pulling fs layer [2023-08-11T20:01:07.051Z] 8b374f2dd631: Waiting [2023-08-11T20:01:07.051Z] 2f466654f4bb: Pulling fs layer [2023-08-11T20:01:07.051Z] ec14aa9079de: Waiting [2023-08-11T20:01:07.051Z] 554e91adad29: Pulling fs layer [2023-08-11T20:01:07.051Z] 2f466654f4bb: Waiting [2023-08-11T20:01:07.051Z] 554e91adad29: Waiting [2023-08-11T20:01:07.334Z] 5f9638ab2659: Download complete [2023-08-11T20:01:07.334Z] 8b374f2dd631: Verifying Checksum [2023-08-11T20:01:07.334Z] 8b374f2dd631: Download complete [2023-08-11T20:01:07.334Z] edb6bdbacee9: Verifying Checksum [2023-08-11T20:01:07.334Z] edb6bdbacee9: Download complete [2023-08-11T20:01:07.334Z] ec14aa9079de: Verifying Checksum [2023-08-11T20:01:07.334Z] ec14aa9079de: Download complete [2023-08-11T20:01:08.302Z] edb6bdbacee9: Pull complete [2023-08-11T20:01:08.572Z] 554e91adad29: Verifying Checksum [2023-08-11T20:01:08.572Z] 554e91adad29: Download complete [2023-08-11T20:01:08.841Z] 5f9638ab2659: Pull complete [2023-08-11T20:01:09.813Z] 8d51d6327a98: Verifying Checksum [2023-08-11T20:01:09.813Z] 8d51d6327a98: Download complete [2023-08-11T20:01:09.813Z] 2f466654f4bb: Verifying Checksum [2023-08-11T20:01:09.813Z] 2f466654f4bb: Download complete [2023-08-11T20:01:22.141Z] 8d51d6327a98: Pull complete [2023-08-11T20:01:22.141Z] 8b374f2dd631: Pull complete [2023-08-11T20:01:22.141Z] ec14aa9079de: Pull complete [2023-08-11T20:01:27.496Z] 2f466654f4bb: Pull complete [2023-08-11T20:01:30.098Z] 554e91adad29: Pull complete [2023-08-11T20:01:30.098Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-08-11T20:01:30.098Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-08-11T20:01:30.098Z] ---> 1e15ea492957 [2023-08-11T20:01:30.098Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-08-11T20:01:31.514Z] ---> Running in 8e3791ea0090 [2023-08-11T20:01:31.781Z] Removing intermediate container 8e3791ea0090 [2023-08-11T20:01:31.781Z] ---> 7501df8f900c [2023-08-11T20:01:31.781Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-11T20:01:32.054Z] ---> Running in 0800d9a7b4af [2023-08-11T20:01:32.326Z] Removing intermediate container 0800d9a7b4af [2023-08-11T20:01:32.326Z] ---> 80dbf847aae3 [2023-08-11T20:01:32.326Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-08-11T20:01:32.326Z] ---> Running in 7b5ed35bd477 [2023-08-11T20:01:32.595Z] Removing intermediate container 7b5ed35bd477 [2023-08-11T20:01:32.595Z] ---> 6408f4ceab16 [2023-08-11T20:01:32.595Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-08-11T20:01:32.595Z] ---> Running in 6bfac4e60697 [2023-08-11T20:01:32.862Z] Removing intermediate container 6bfac4e60697 [2023-08-11T20:01:32.862Z] ---> 47ba859a2825 [2023-08-11T20:01:32.862Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-11T20:01:33.129Z] ---> Running in 4179e70f7057 [2023-08-11T20:01:34.087Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-11T20:01:34.676Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-11T20:01:35.638Z] (1/14) Installing libintl (0.21.1-r1) [2023-08-11T20:01:35.638Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-08-11T20:01:35.638Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-08-11T20:01:35.638Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-08-11T20:01:35.638Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-08-11T20:01:35.638Z] (6/14) Installing udev-init-scripts (35-r1) [2023-08-11T20:01:35.638Z] (7/14) Installing libblkid (2.38.1-r1) [2023-08-11T20:01:35.906Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-08-11T20:01:35.906Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-08-11T20:01:35.906Z] (10/14) Installing kmod-libs (30-r1) [2023-08-11T20:01:35.906Z] (11/14) Installing eudev (3.2.11-r4) [2023-08-11T20:01:35.906Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-08-11T20:01:35.906Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-08-11T20:01:35.906Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-08-11T20:01:35.906Z] Executing busybox-1.35.0-r29.trigger [2023-08-11T20:01:35.906Z] Executing eudev-3.2.11-r4.trigger [2023-08-11T20:01:35.906Z] OK: 271 MiB in 67 packages [2023-08-11T20:01:37.325Z] Removing intermediate container 4179e70f7057 [2023-08-11T20:01:37.325Z] ---> 2dc23aee453a [2023-08-11T20:01:37.325Z] Step 8/13 : WORKDIR /device-usb-camera [2023-08-11T20:01:37.325Z] ---> Running in a26ade79b05e [2023-08-11T20:01:37.593Z] Removing intermediate container a26ade79b05e [2023-08-11T20:01:37.593Z] ---> 62fc65cfdbec [2023-08-11T20:01:37.593Z] Step 9/13 : COPY go.mod vendor* ./ [2023-08-11T20:01:37.865Z] ---> d16c1c815fb5 [2023-08-11T20:01:37.865Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-11T20:01:38.134Z] ---> Running in 88590551154e [2023-08-11T20:02:46.024Z] Removing intermediate container 88590551154e [2023-08-11T20:02:46.024Z] ---> 33946eede7c9 [2023-08-11T20:02:46.024Z] Step 11/13 : COPY . . [2023-08-11T20:02:46.024Z] ---> cdba0ed65661 [2023-08-11T20:02:46.024Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-08-11T20:02:46.024Z] ---> Running in d1ab21d57f91 [2023-08-11T20:02:46.024Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-11T20:02:46.024Z] Dload Upload Total Spent Left Speed [2023-08-11T20:02:46.024Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 4248  0 --:--:-- --:--:-- --:--:-- 4265 [2023-08-11T20:02:46.024Z] Removing intermediate container d1ab21d57f91 [2023-08-11T20:02:46.024Z] ---> f35b65a5e64a [2023-08-11T20:02:46.024Z] Step 13/13 : RUN ${MAKE} [2023-08-11T20:02:46.024Z] ---> Running in 1598b3940ef7 [2023-08-11T20:02:46.024Z] noop [2023-08-11T20:02:46.024Z] Removing intermediate container 1598b3940ef7 [2023-08-11T20:02:46.024Z] ---> 1a938fe3dfba [2023-08-11T20:02:46.024Z] Successfully built 1a938fe3dfba [2023-08-11T20:02:46.024Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-11T20:02:46.374Z] + docker inspect -f . ci-base-image-arm64 [2023-08-11T20:02:46.374Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-11T20:02:46.565Z] prd-ubuntu20.04-docker-arm64-4c-16g-3359 does not seem to be running inside a container [2023-08-11T20:02:46.627Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/2 -v /w/workspace/device-usb-camera/2:/w/workspace/device-usb-camera/2:rw,z -v /w/workspace/device-usb-camera/2@tmp:/w/workspace/device-usb-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-08-11T20:02:47.776Z] $ docker top a34f5443b4584289756c1cdb0a1477bd83f481bff34ffbfc819b3dcb66c8fb8b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-11T20:02:48.598Z] + go version [2023-08-11T20:02:48.598Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-08-11T20:02:48.620Z] $ docker stop --time=1 a34f5443b4584289756c1cdb0a1477bd83f481bff34ffbfc819b3dcb66c8fb8b [2023-08-11T20:02:51.736Z] $ docker rm -f --volumes a34f5443b4584289756c1cdb0a1477bd83f481bff34ffbfc819b3dcb66c8fb8b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-11T20:02:52.285Z] + docker inspect -f . ci-base-image-arm64 [2023-08-11T20:02:52.285Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-11T20:02:52.468Z] prd-ubuntu20.04-docker-arm64-4c-16g-3359 does not seem to be running inside a container [2023-08-11T20:02:52.536Z] $ 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/2 -v /w/workspace/device-usb-camera/2:/w/workspace/device-usb-camera/2:rw,z -v /w/workspace/device-usb-camera/2@tmp:/w/workspace/device-usb-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-08-11T20:02:53.649Z] $ docker top 11a96ed271c4f6f82b894aec65e811fba00d97a1a11bbbfe8df84b0648aefe84 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-11T20:02:54.134Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/2 [Pipeline] fileExists [Pipeline] sh [2023-08-11T20:02:54.728Z] + make test [2023-08-11T20:02:54.728Z] go test ./... -coverprofile=coverage.out ./... [2023-08-11T20:03:26.943Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-08-11T20:05:33.610Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-08-11T20:05:33.610Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.106s coverage: 3.3% of statements [2023-08-11T20:05:33.610Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-08-11T20:05:33.610Z] go vet ./... [2023-08-11T20:06:05.861Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-11T20:06:05.861Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-11T20:06:05.861Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-08-11T20:06:05.878Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-11T20:06:05.893Z] $ docker stop --time=1 11a96ed271c4f6f82b894aec65e811fba00d97a1a11bbbfe8df84b0648aefe84 [2023-08-11T20:06:07.691Z] $ docker rm -f --volumes 11a96ed271c4f6f82b894aec65e811fba00d97a1a11bbbfe8df84b0648aefe84 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-11T20:06:08.751Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-11T20:06:08.772Z] Warning: overwriting stash ‘coverage-report’ [2023-08-11T20:06:09.403Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-11T20:06:09.811Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-11T20:06:10.139Z] + ls -al . [2023-08-11T20:06:10.139Z] total 204 [2023-08-11T20:06:10.139Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 11 20:02 . [2023-08-11T20:06:10.139Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 11 20:00 .. [2023-08-11T20:06:10.139Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 11 20:00 .git [2023-08-11T20:06:10.139Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 11 20:00 .github [2023-08-11T20:06:10.139Z] -rw-rw-r-- 1 jenkins jenkins 414 Aug 11 20:00 .gitignore [2023-08-11T20:06:10.139Z] -rw-rw-r-- 1 jenkins jenkins 45 Aug 11 20:00 .golangci.yml [2023-08-11T20:06:10.139Z] -rw-rw-r-- 1 jenkins jenkins 77 Aug 11 20:00 .hadolint.yml [2023-08-11T20:06:10.139Z] -rw-rw-r-- 1 jenkins jenkins 9783 Aug 11 20:00 Attribution.txt [2023-08-11T20:06:10.139Z] -rw-rw-r-- 1 jenkins jenkins 11903 Aug 11 20:00 CHANGELOG.md [2023-08-11T20:06:10.139Z] -rw-rw-r-- 1 jenkins jenkins 2453 Aug 11 20:00 Dockerfile [2023-08-11T20:06:10.139Z] -rw-rw-r-- 1 jenkins jenkins 678 Aug 11 20:00 GOVERNANCE.md [2023-08-11T20:06:10.139Z] -rw-rw-r-- 1 jenkins jenkins 659 Aug 11 20:00 Jenkinsfile [2023-08-11T20:06:10.139Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 11 20:00 LICENSE [2023-08-11T20:06:10.139Z] -rw-rw-r-- 1 jenkins jenkins 2364 Aug 11 20:00 Makefile [2023-08-11T20:06:10.139Z] -rw-rw-r-- 1 jenkins jenkins 622 Aug 11 20:00 OWNERS.md [2023-08-11T20:06:10.139Z] -rw-rw-r-- 1 jenkins jenkins 2575 Aug 11 20:00 README.md [2023-08-11T20:06:10.139Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 11 19:58 VERSION [2023-08-11T20:06:10.139Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 11 20:00 bin [2023-08-11T20:06:10.139Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 11 20:00 cmd [2023-08-11T20:06:10.139Z] -rw-r--r-- 1 jenkins jenkins 47469 Aug 11 20:05 coverage.out [2023-08-11T20:06:10.139Z] -rwxrwxr-x 1 jenkins jenkins 140 Aug 11 20:00 docker-entrypoint.sh [2023-08-11T20:06:10.139Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 11 20:00 docs [2023-08-11T20:06:10.139Z] -rw-rw-r-- 1 jenkins jenkins 3416 Aug 11 20:00 go.mod [2023-08-11T20:06:10.139Z] -rw-rw-r-- 1 jenkins jenkins 31482 Aug 11 20:00 go.sum [2023-08-11T20:06:10.139Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 11 20:00 internal [2023-08-11T20:06:10.139Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 11 20:00 snap [2023-08-11T20:06:10.139Z] -rw-rw-r-- 1 jenkins jenkins 231 Aug 11 20:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-11T20:06:10.497Z] + 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=e15dd02ac2d6272e2b40c6a79eb758907f3eed36 --label arch=arm64 --label version=0.0.0 . [2023-08-11T20:06:10.772Z] Sending build context to Docker daemon 1.445MB [2023-08-11T20:06:10.772Z] Step 1/36 : ARG BASE=golang:1.20-alpine3.17 [2023-08-11T20:06:10.772Z] Step 2/36 : FROM ${BASE} AS builder [2023-08-11T20:06:10.772Z] ---> 1a938fe3dfba [2023-08-11T20:06:10.772Z] Step 3/36 : ARG ADD_BUILD_TAGS="" [2023-08-11T20:06:11.057Z] ---> Running in a4943179a933 [2023-08-11T20:06:13.651Z] Removing intermediate container a4943179a933 [2023-08-11T20:06:13.651Z] ---> 28fb110b1f9c [2023-08-11T20:06:13.651Z] Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-11T20:06:13.651Z] ---> Running in 1cb6782f1543 [2023-08-11T20:06:13.920Z] Removing intermediate container 1cb6782f1543 [2023-08-11T20:06:13.920Z] ---> 57f8e571f548 [2023-08-11T20:06:13.920Z] Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-08-11T20:06:14.188Z] ---> Running in 2cebb4f5fb62 [2023-08-11T20:06:14.456Z] Removing intermediate container 2cebb4f5fb62 [2023-08-11T20:06:14.456Z] ---> eea2b3b3adfc [2023-08-11T20:06:14.456Z] Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-08-11T20:06:14.456Z] ---> Running in 109d10561d97 [2023-08-11T20:06:14.729Z] Removing intermediate container 109d10561d97 [2023-08-11T20:06:14.729Z] ---> fdff1a8ffa0d [2023-08-11T20:06:14.729Z] Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-11T20:06:14.729Z] ---> Running in 79f9fcc1bf7b [2023-08-11T20:06:15.690Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-11T20:06:16.273Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-11T20:06:17.237Z] OK: 271 MiB in 67 packages [2023-08-11T20:06:18.203Z] Removing intermediate container 79f9fcc1bf7b [2023-08-11T20:06:18.203Z] ---> d7b6a3feaa45 [2023-08-11T20:06:18.203Z] Step 8/36 : WORKDIR /device-usb-camera [2023-08-11T20:06:18.203Z] ---> Running in b76838309729 [2023-08-11T20:06:18.473Z] Removing intermediate container b76838309729 [2023-08-11T20:06:18.473Z] ---> 8ac72ad12224 [2023-08-11T20:06:18.473Z] Step 9/36 : COPY go.mod vendor* ./ [2023-08-11T20:06:18.744Z] ---> e6be0de21dd3 [2023-08-11T20:06:18.744Z] Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-11T20:06:19.013Z] ---> Running in 9290a039a982 [2023-08-11T20:06:21.602Z] Removing intermediate container 9290a039a982 [2023-08-11T20:06:21.602Z] ---> 82a088241273 [2023-08-11T20:06:21.602Z] Step 11/36 : COPY . . [2023-08-11T20:06:22.564Z] ---> 573b34e177ca [2023-08-11T20:06:22.564Z] Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-08-11T20:06:22.564Z] ---> Running in 1cae43d7edf4 [2023-08-11T20:06:23.525Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-11T20:06:23.525Z] Dload Upload Total Spent Left Speed [2023-08-11T20:06:24.108Z] 0 0 0 0 0 0 0  0 --:--:-- --:--:-- --:--:--  0 100 1062 100 1062 0 0 2279 0 --:--:-- --:--:-- --:--:-- 2283 [2023-08-11T20:06:24.693Z] Removing intermediate container 1cae43d7edf4 [2023-08-11T20:06:24.693Z] ---> f8ca38570b92 [2023-08-11T20:06:24.693Z] Step 13/36 : RUN ${MAKE} [2023-08-11T20:06:24.693Z] ---> Running in e704eb124b16 [2023-08-11T20:06:25.654Z] go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd [2023-08-11T20:08:47.378Z] Removing intermediate container e704eb124b16 [2023-08-11T20:08:47.378Z] ---> 1c62a1eb1d35 [2023-08-11T20:08:47.378Z] Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-08-11T20:08:47.378Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-08-11T20:08:47.378Z] 8766b47fe142: Pulling fs layer [2023-08-11T20:08:47.378Z] 8766b47fe142: Verifying Checksum [2023-08-11T20:08:47.378Z] 8766b47fe142: Download complete [2023-08-11T20:08:47.378Z] 8766b47fe142: Pull complete [2023-08-11T20:08:47.378Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-08-11T20:08:47.378Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-08-11T20:08:47.378Z] ---> 69d40e2cb93c [2023-08-11T20:08:47.378Z] Step 15/36 : FROM alpine:3.17 [2023-08-11T20:08:47.378Z] 3.17: Pulling from library/alpine [2023-08-11T20:08:47.378Z] 4060ece20d7a: Pulling fs layer [2023-08-11T20:08:47.378Z] 4060ece20d7a: Verifying Checksum [2023-08-11T20:08:47.378Z] 4060ece20d7a: Download complete [2023-08-11T20:08:47.378Z] 4060ece20d7a: Pull complete [2023-08-11T20:08:47.378Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-11T20:08:47.378Z] Status: Downloaded newer image for alpine:3.17 [2023-08-11T20:08:47.378Z] ---> 8650cd65339b [2023-08-11T20:08:47.378Z] Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-08-11T20:08:47.644Z] ---> Running in 5b6de4ed5639 [2023-08-11T20:08:47.910Z] Removing intermediate container 5b6de4ed5639 [2023-08-11T20:08:47.910Z] ---> ebe3ebec71ef [2023-08-11T20:08:47.910Z] Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-08-11T20:08:47.910Z] ---> Running in f1123ecfd712 [2023-08-11T20:08:48.867Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-11T20:08:49.446Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-11T20:08:50.398Z] (1/83) Installing dumb-init (1.2.5-r2) [2023-08-11T20:08:50.398Z] (2/83) Installing sdl2 (2.26.5-r0) [2023-08-11T20:08:50.398Z] (3/83) Installing libxau (1.0.10-r0) [2023-08-11T20:08:50.398Z] (4/83) Installing libmd (1.0.4-r0) [2023-08-11T20:08:50.398Z] (5/83) Installing libbsd (0.11.7-r0) [2023-08-11T20:08:50.398Z] (6/83) Installing libxdmcp (1.1.4-r0) [2023-08-11T20:08:50.398Z] (7/83) Installing libxcb (1.15-r0) [2023-08-11T20:08:50.398Z] (8/83) Installing libx11 (1.8.4-r1) [2023-08-11T20:08:50.666Z] (9/83) Installing aom-libs (3.5.0-r0) [2023-08-11T20:08:50.666Z] (10/83) Installing alsa-lib (1.2.8-r0) [2023-08-11T20:08:50.931Z] (11/83) Installing libexpat (2.5.0-r0) [2023-08-11T20:08:50.931Z] (12/83) Installing brotli-libs (1.0.9-r9) [2023-08-11T20:08:50.931Z] (13/83) Installing libbz2 (1.0.8-r4) [2023-08-11T20:08:50.931Z] (14/83) Installing libpng (1.6.39-r0) [2023-08-11T20:08:50.931Z] (15/83) Installing freetype (2.12.1-r0) [2023-08-11T20:08:50.931Z] (16/83) Installing fontconfig (2.14.1-r0) [2023-08-11T20:08:50.931Z] (17/83) Installing fribidi (1.0.12-r0) [2023-08-11T20:08:50.931Z] (18/83) Installing libffi (3.4.4-r0) [2023-08-11T20:08:50.931Z] (19/83) Installing libintl (0.21.1-r1) [2023-08-11T20:08:50.931Z] (20/83) Installing libblkid (2.38.1-r1) [2023-08-11T20:08:51.196Z] (21/83) Installing libmount (2.38.1-r1) [2023-08-11T20:08:51.196Z] (22/83) Installing pcre2 (10.42-r0) [2023-08-11T20:08:51.196Z] (23/83) Installing glib (2.74.7-r0) [2023-08-11T20:08:51.196Z] (24/83) Installing graphite2 (1.3.14-r2) [2023-08-11T20:08:51.196Z] (25/83) Installing harfbuzz (5.3.1-r1) [2023-08-11T20:08:51.196Z] (26/83) Installing libass (0.16.0-r1) [2023-08-11T20:08:51.196Z] (27/83) Installing libdav1d (1.0.0-r2) [2023-08-11T20:08:51.196Z] (28/83) Installing libdrm (2.4.114-r0) [2023-08-11T20:08:51.196Z] (29/83) Installing gmp (6.2.1-r2) [2023-08-11T20:08:51.461Z] (30/83) Installing nettle (3.8.1-r0) [2023-08-11T20:08:51.461Z] (31/83) Installing p11-kit (0.24.1-r1) [2023-08-11T20:08:51.461Z] (32/83) Installing libtasn1 (4.19.0-r0) [2023-08-11T20:08:51.461Z] (33/83) Installing libunistring (1.1-r0) [2023-08-11T20:08:51.461Z] (34/83) Installing gnutls (3.7.8-r3) [2023-08-11T20:08:51.461Z] (35/83) Installing ncurses-terminfo-base (6.3_p20221119-r1) [2023-08-11T20:08:51.461Z] (36/83) Installing ncurses-libs (6.3_p20221119-r1) [2023-08-11T20:08:51.461Z] (37/83) Installing lame (3.100-r2) [2023-08-11T20:08:51.461Z] (38/83) Installing opus (1.3.1-r1) [2023-08-11T20:08:51.461Z] (39/83) Installing libasyncns (0.8-r1) [2023-08-11T20:08:51.461Z] (40/83) Installing dbus-libs (1.14.8-r0) [2023-08-11T20:08:51.726Z] (41/83) Installing libltdl (2.4.7-r1) [2023-08-11T20:08:51.726Z] (42/83) Installing orc (0.4.33-r0) [2023-08-11T20:08:51.726Z] (43/83) Installing libgcc (12.2.1_git20220924-r4) [2023-08-11T20:08:51.726Z] (44/83) Installing libogg (1.3.5-r2) [2023-08-11T20:08:51.726Z] (45/83) Installing libstdc++ (12.2.1_git20220924-r4) [2023-08-11T20:08:51.726Z] (46/83) Installing flac-libs (1.4.2-r0) [2023-08-11T20:08:51.726Z] (47/83) Installing libvorbis (1.3.7-r0) [2023-08-11T20:08:51.726Z] (48/83) Installing libsndfile (1.1.0-r2) [2023-08-11T20:08:51.726Z] (49/83) Installing libgomp (12.2.1_git20220924-r4) [2023-08-11T20:08:51.726Z] (50/83) Installing soxr (0.1.3-r3) [2023-08-11T20:08:51.726Z] (51/83) Installing speexdsp (1.2.1-r0) [2023-08-11T20:08:51.726Z] (52/83) Installing tdb-libs (1.4.6-r0) [2023-08-11T20:08:51.726Z] (53/83) Installing libpulse (16.1-r6) [2023-08-11T20:08:51.990Z] (54/83) Installing cjson (1.7.15-r3) [2023-08-11T20:08:51.990Z] (55/83) Installing mbedtls (2.28.4-r0) [2023-08-11T20:08:51.990Z] (56/83) Installing librist (0.2.7-r0) [2023-08-11T20:08:51.990Z] (57/83) Installing libsrt (1.5.1-r0) [2023-08-11T20:08:51.990Z] (58/83) Installing libssh (0.10.5-r0) [2023-08-11T20:08:51.990Z] (59/83) Installing libtheora (1.1.1-r16) [2023-08-11T20:08:51.990Z] (60/83) Installing libjpeg-turbo (2.1.4-r0) [2023-08-11T20:08:51.990Z] (61/83) Installing v4l-utils-libs (1.22.1-r2) [2023-08-11T20:08:51.990Z] (62/83) Installing libxext (1.3.5-r0) [2023-08-11T20:08:51.990Z] (63/83) Installing libxfixes (6.0.0-r0) [2023-08-11T20:08:51.990Z] (64/83) Installing wayland-libs-client (1.21.0-r1) [2023-08-11T20:08:51.990Z] (65/83) Installing libva (2.16.0-r0) [2023-08-11T20:08:51.990Z] (66/83) Installing libvdpau (1.5-r0) [2023-08-11T20:08:51.990Z] (67/83) Installing vidstab (1.1.0-r2) [2023-08-11T20:08:51.990Z] (68/83) Installing libvpx (1.12.0-r1) [2023-08-11T20:08:52.254Z] (69/83) Installing libwebp (1.2.4-r2) [2023-08-11T20:08:52.254Z] (70/83) Installing x264-libs (0.164_git20220602-r0) [2023-08-11T20:08:52.254Z] (71/83) Installing numactl (2.0.16-r1) [2023-08-11T20:08:52.254Z] (72/83) Installing x265-libs (3.5-r3) [2023-08-11T20:08:52.520Z] (73/83) Installing xvidcore (1.3.7-r1) [2023-08-11T20:08:52.521Z] (74/83) Installing libsodium (1.0.18-r2) [2023-08-11T20:08:52.521Z] (75/83) Installing libzmq (4.3.4-r1) [2023-08-11T20:08:52.787Z] (76/83) Installing ffmpeg-libs (5.1.3-r0) [2023-08-11T20:08:53.053Z] (77/83) Installing ffmpeg (5.1.3-r0) [2023-08-11T20:08:53.053Z] (78/83) Installing udev-init-scripts (35-r1) [2023-08-11T20:08:53.053Z] (79/83) Installing eudev-libs (3.2.11-r4) [2023-08-11T20:08:53.053Z] (80/83) Installing xz-libs (5.2.9-r0) [2023-08-11T20:08:53.053Z] (81/83) Installing zstd-libs (1.5.5-r0) [2023-08-11T20:08:53.053Z] (82/83) Installing kmod-libs (30-r1) [2023-08-11T20:08:53.053Z] (83/83) Installing eudev (3.2.11-r4) [2023-08-11T20:08:53.318Z] Executing busybox-1.35.0-r29.trigger [2023-08-11T20:08:53.318Z] Executing eudev-3.2.11-r4.trigger [2023-08-11T20:08:53.318Z] OK: 86 MiB in 98 packages [2023-08-11T20:08:56.670Z] Removing intermediate container f1123ecfd712 [2023-08-11T20:08:56.670Z] ---> 3f0e5b5a099f [2023-08-11T20:08:56.670Z] Step 18/36 : WORKDIR / [2023-08-11T20:08:56.670Z] ---> Running in a54ac524ff88 [2023-08-11T20:08:56.670Z] Removing intermediate container a54ac524ff88 [2023-08-11T20:08:56.670Z] ---> 883eaa1016df [2023-08-11T20:08:56.670Z] Step 19/36 : COPY --from=builder /device-usb-camera/cmd / [2023-08-11T20:08:58.072Z] ---> da6fb039bcc0 [2023-08-11T20:08:58.072Z] Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / [2023-08-11T20:08:58.655Z] ---> 567f37e63597 [2023-08-11T20:08:58.655Z] Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-08-11T20:08:58.922Z] ---> aea04a4a1b68 [2023-08-11T20:08:58.922Z] Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-08-11T20:08:59.502Z] ---> 8fb5f304a4bb [2023-08-11T20:08:59.502Z] Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-08-11T20:08:59.768Z] ---> 4cfbd9f83d77 [2023-08-11T20:08:59.769Z] Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-08-11T20:09:00.360Z] ---> 06d34d99beed [2023-08-11T20:09:00.360Z] Step 25/36 : COPY --from=rtsp /rtsp-simple-server / [2023-08-11T20:09:01.766Z] ---> 901237fd9b7c [2023-08-11T20:09:01.766Z] Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-08-11T20:09:01.766Z] ---> Running in 41bc7a0108fe [2023-08-11T20:09:03.174Z] Removing intermediate container 41bc7a0108fe [2023-08-11T20:09:03.174Z] ---> d7ec1354c9f9 [2023-08-11T20:09:03.174Z] Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-08-11T20:09:03.442Z] ---> Running in 16def57658d8 [2023-08-11T20:09:06.783Z] Removing intermediate container 16def57658d8 [2023-08-11T20:09:06.783Z] ---> 8632c9263d7b [2023-08-11T20:09:06.783Z] Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-08-11T20:09:06.783Z] ---> Running in 51ba51933d84 [2023-08-11T20:09:08.193Z] Removing intermediate container 51ba51933d84 [2023-08-11T20:09:08.193Z] ---> 64542d56b306 [2023-08-11T20:09:08.193Z] Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml [2023-08-11T20:09:08.193Z] ---> Running in 7c9c5a1e47f2 [2023-08-11T20:09:09.601Z] Removing intermediate container 7c9c5a1e47f2 [2023-08-11T20:09:09.601Z] ---> 9c789f435eb4 [2023-08-11T20:09:09.601Z] Step 30/36 : EXPOSE 59983 [2023-08-11T20:09:09.868Z] ---> Running in 8570f9145fbf [2023-08-11T20:09:10.135Z] Removing intermediate container 8570f9145fbf [2023-08-11T20:09:10.135Z] ---> 7969f6cc19cf [2023-08-11T20:09:10.135Z] Step 31/36 : EXPOSE 8554 [2023-08-11T20:09:10.135Z] ---> Running in c4419bf9e72d [2023-08-11T20:09:10.402Z] Removing intermediate container c4419bf9e72d [2023-08-11T20:09:10.402Z] ---> eb1aed401d66 [2023-08-11T20:09:10.402Z] Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-08-11T20:09:10.402Z] ---> Running in a9bf4160e0c0 [2023-08-11T20:09:10.669Z] Removing intermediate container a9bf4160e0c0 [2023-08-11T20:09:10.669Z] ---> a6793ccd777a [2023-08-11T20:09:10.669Z] Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-08-11T20:09:10.669Z] ---> Running in f56063d4422b [2023-08-11T20:09:10.938Z] Removing intermediate container f56063d4422b [2023-08-11T20:09:10.938Z] ---> f5e7ef32365d [2023-08-11T20:09:10.938Z] Step 34/36 : LABEL arch=arm64 [2023-08-11T20:09:11.205Z] ---> Running in b6ba84df20b4 [2023-08-11T20:09:11.472Z] Removing intermediate container b6ba84df20b4 [2023-08-11T20:09:11.472Z] ---> 92bd0001aca7 [2023-08-11T20:09:11.472Z] Step 35/36 : LABEL git_sha=e15dd02ac2d6272e2b40c6a79eb758907f3eed36 [2023-08-11T20:09:11.472Z] ---> Running in 99d639a2f284 [2023-08-11T20:09:11.739Z] Removing intermediate container 99d639a2f284 [2023-08-11T20:09:11.739Z] ---> f4cfb0278921 [2023-08-11T20:09:11.739Z] Step 36/36 : LABEL version=0.0.0 [2023-08-11T20:09:11.739Z] ---> Running in 1df404d4aa71 [2023-08-11T20:09:12.004Z] Removing intermediate container 1df404d4aa71 [2023-08-11T20:09:12.004Z] ---> 596574ba172e [2023-08-11T20:09:12.004Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-11T20:09:12.004Z] Successfully built 596574ba172e [2023-08-11T20:09:12.004Z] Successfully tagged device-usb-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-11T20:09:12.437Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-11T20:09:12.438Z] [2023-08-11T20:09:12.438Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-11T20:09:12.763Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-11T20:09:12.763Z] arm64: Pulling from edgex-lftools-log-publisher [2023-08-11T20:09:12.763Z] 8998bd30e6a1: Pulling fs layer [2023-08-11T20:09:12.763Z] 04944245beec: Pulling fs layer [2023-08-11T20:09:12.763Z] 699f458cf7ca: Pulling fs layer [2023-08-11T20:09:12.763Z] 765212b225bb: Pulling fs layer [2023-08-11T20:09:12.763Z] f23df028b6ca: Pulling fs layer [2023-08-11T20:09:12.763Z] d65c8cfc05b1: Pulling fs layer [2023-08-11T20:09:12.763Z] 2437ff75d9bd: Pulling fs layer [2023-08-11T20:09:12.763Z] d65c8cfc05b1: Waiting [2023-08-11T20:09:12.763Z] 2437ff75d9bd: Waiting [2023-08-11T20:09:12.763Z] 765212b225bb: Waiting [2023-08-11T20:09:12.763Z] f23df028b6ca: Waiting [2023-08-11T20:09:13.030Z] 04944245beec: Verifying Checksum [2023-08-11T20:09:13.030Z] 04944245beec: Download complete [2023-08-11T20:09:13.030Z] 765212b225bb: Verifying Checksum [2023-08-11T20:09:13.030Z] 765212b225bb: Download complete [2023-08-11T20:09:13.030Z] f23df028b6ca: Verifying Checksum [2023-08-11T20:09:13.030Z] f23df028b6ca: Download complete [2023-08-11T20:09:13.030Z] d65c8cfc05b1: Verifying Checksum [2023-08-11T20:09:13.030Z] d65c8cfc05b1: Download complete [2023-08-11T20:09:13.297Z] 699f458cf7ca: Verifying Checksum [2023-08-11T20:09:13.564Z] 8998bd30e6a1: Verifying Checksum [2023-08-11T20:09:13.564Z] 8998bd30e6a1: Download complete [2023-08-11T20:09:15.505Z] 2437ff75d9bd: Verifying Checksum [2023-08-11T20:09:15.505Z] 2437ff75d9bd: Download complete [2023-08-11T20:09:17.446Z] 8998bd30e6a1: Pull complete [2023-08-11T20:09:19.386Z] 04944245beec: Pull complete [2023-08-11T20:09:20.791Z] 699f458cf7ca: Pull complete [2023-08-11T20:09:20.791Z] 765212b225bb: Pull complete [2023-08-11T20:09:21.749Z] f23df028b6ca: Pull complete [2023-08-11T20:09:21.749Z] d65c8cfc05b1: Pull complete [2023-08-11T20:09:36.755Z] 2437ff75d9bd: Pull complete [2023-08-11T20:09:36.755Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-08-11T20:09:36.755Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-11T20:09:36.755Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-11T20:09:36.928Z] prd-ubuntu20.04-docker-arm64-4c-16g-3359 does not seem to be running inside a container [2023-08-11T20:09:36.987Z] $ 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/2 -v /w/workspace/device-usb-camera/2:/w/workspace/device-usb-camera/2:rw,z -v /w/workspace/device-usb-camera/2@tmp:/w/workspace/device-usb-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-08-11T20:09:39.448Z] $ docker top 3b434d1536c42f5b642dc9312ac59e582ceaef805a286703bac2dbd9d53f185e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-11T20:09:39.961Z] ---> job-cost.sh [2023-08-11T20:09:40.227Z] lf-activate-venv: SKIPPING [2023-08-11T20:09:40.227Z] INFO: No Stack... [2023-08-11T20:09:40.492Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-08-11T20:09:41.445Z] INFO: Archiving Costs [Pipeline] sh [2023-08-11T20:09:41.769Z] + cat /w/workspace/device-usb-camera/2/archives/cost.csv [2023-08-11T20:09:41.769Z] + cut -d, -f6 [Pipeline] lock [2023-08-11T20:09:41.826Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-269-2-stack-cost] [2023-08-11T20:09:41.831Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-269-2-stack-cost] did not exist. Created. [2023-08-11T20:09:41.831Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-269-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-11T20:09:42.166Z] /w/workspace/device-usb-camera/2@tmp/durable-17486344/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-08-11T20:09:42.497Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-08-11T20:09:42.520Z] Warning: overwriting stash ‘stack-cost’ [2023-08-11T20:09:42.572Z] Stashed 1 file(s) [Pipeline] } [2023-08-11T20:09:42.582Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-269-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-11T20:09:42.608Z] $ docker stop --time=1 3b434d1536c42f5b642dc9312ac59e582ceaef805a286703bac2dbd9d53f185e [2023-08-11T20:09:46.648Z] $ docker rm -f --volumes 3b434d1536c42f5b642dc9312ac59e582ceaef805a286703bac2dbd9d53f185e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-08-11T20:09:47.035Z] provisioning config files... [2023-08-11T20:09:47.042Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-269@tmp/config15619404152966832120tmp [Pipeline] { [Pipeline] sh [2023-08-11T20:09:47.329Z] + set +x [2023-08-11T20:09:47.329Z] + curl -s https://codecov.io/bash [2023-08-11T20:09:47.329Z] + bash -s -- [2023-08-11T20:09:47.329Z] [2023-08-11T20:09:47.329Z] _____ _ [2023-08-11T20:09:47.329Z] / ____| | | [2023-08-11T20:09:47.329Z] | | ___ __| | ___ ___ _____ __ [2023-08-11T20:09:47.329Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-08-11T20:09:47.329Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-08-11T20:09:47.329Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-08-11T20:09:47.329Z] Bash-1.0.6 [2023-08-11T20:09:47.329Z] [2023-08-11T20:09:47.329Z] [2023-08-11T20:09:47.329Z] ==> git version 2.25.1 found [2023-08-11T20:09:47.329Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-08-11T20:09:47.329Z] Release-Date: 2020-01-08 [2023-08-11T20:09:47.329Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-08-11T20:09:47.329Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-08-11T20:09:47.329Z] ==> Jenkins CI detected. [2023-08-11T20:09:47.329Z] current dir:  /w/workspace/foundry_device-usb-camera_PR-269 [2023-08-11T20:09:47.329Z] project root: . [2023-08-11T20:09:47.329Z] --> token set from env [2023-08-11T20:09:47.329Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-08-11T20:09:47.329Z] ==> Running gcov in . (disable via -X gcov) [2023-08-11T20:09:47.329Z] ==> Python coveragepy not found [2023-08-11T20:09:47.329Z] ==> Searching for coverage reports in: [2023-08-11T20:09:47.329Z] + . [2023-08-11T20:09:47.329Z] -> Found 1 reports [2023-08-11T20:09:47.329Z] ==> Detecting git/mercurial file structure [2023-08-11T20:09:47.329Z] ==> Reading reports [2023-08-11T20:09:47.588Z] + ./coverage.out bytes=47469 [2023-08-11T20:09:47.588Z] ==> Appending adjustments [2023-08-11T20:09:47.588Z] https://docs.codecov.io/docs/fixing-reports [2023-08-11T20:09:47.588Z] + Found adjustments [2023-08-11T20:09:47.588Z] ==> Gzipping contents [2023-08-11T20:09:47.588Z] 8.0K /tmp/codecov.SstGoa.gz [2023-08-11T20:09:47.588Z] ==> Uploading reports [2023-08-11T20:09:47.588Z] url: https://codecov.io [2023-08-11T20:09:47.588Z] query: branch=PR-269&commit=e15dd02ac2d6272e2b40c6a79eb758907f3eed36&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-269%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=269&job=&cmd_args= [2023-08-11T20:09:47.588Z] -> Pinging Codecov [2023-08-11T20:09:47.588Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-269&commit=e15dd02ac2d6272e2b40c6a79eb758907f3eed36&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-269%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=269&job=&cmd_args= [2023-08-11T20:09:47.847Z] -> Uploading to [2023-08-11T20:09:47.847Z] https://storage.googleapis.com/codecov/v4/raw/2023-08-11/73D8F5FF140700D3E01443B452E23636/e15dd02ac2d6272e2b40c6a79eb758907f3eed36/667d55c2-58df-4284-b549-1037d936fa8c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230811%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230811T200947Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5a051160fa1f539c3287bda7fbf3a3639dbaccf53ab712690265180690a76fa8 [2023-08-11T20:09:47.847Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-11T20:09:47.847Z] Dload Upload Total Spent Left Speed [2023-08-11T20:09:47.847Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 6162 0 0 100 6162 0 32603 --:--:-- --:--:-- --:--:-- 32603 [2023-08-11T20:09:48.106Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/e15dd02ac2d6272e2b40c6a79eb758907f3eed36 [Pipeline] } [2023-08-11T20:09:48.111Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-08-11T20:09:48.840Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-269/archives ] [2023-08-11T20:09:48.840Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-269/archives [2023-08-11T20:09:48.840Z] total 16 [2023-08-11T20:09:48.840Z] drwxr-xr-x 3 root root 4096 Aug 11 20:00 . [2023-08-11T20:09:48.840Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 11 20:00 .. [2023-08-11T20:09:48.840Z] drwxr-xr-x 2 root root 4096 Aug 11 20:00 cost [2023-08-11T20:09:48.840Z] -rw-r--r-- 1 root root 89 Aug 11 20:00 cost.csv [2023-08-11T20:09:48.840Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-269/archives [2023-08-11T20:09:48.840Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-269/archives [2023-08-11T20:09:48.840Z] total 16 [2023-08-11T20:09:48.840Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 11 20:00 . [2023-08-11T20:09:48.840Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 11 20:00 .. [2023-08-11T20:09:48.840Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 11 20:00 cost [2023-08-11T20:09:48.840Z] -rw-r--r-- 1 jenkins jenkins 89 Aug 11 20:00 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-08-11T20:09:49.127Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-11T20:09:49.984Z] ---> package-listing.sh [2023-08-11T20:09:49.984Z] ++ facter osfamily [2023-08-11T20:09:49.984Z] ++ tr '[:upper:]' '[:lower:]' [2023-08-11T20:09:50.242Z] + OS_FAMILY=debian [2023-08-11T20:09:50.242Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-269 [2023-08-11T20:09:50.242Z] + START_PACKAGES=/tmp/packages_start.txt [2023-08-11T20:09:50.242Z] + END_PACKAGES=/tmp/packages_end.txt [2023-08-11T20:09:50.242Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-08-11T20:09:50.242Z] + PACKAGES=/tmp/packages_start.txt [2023-08-11T20:09:50.242Z] + '[' /w/workspace/foundry_device-usb-camera_PR-269 ']' [2023-08-11T20:09:50.242Z] + PACKAGES=/tmp/packages_end.txt [2023-08-11T20:09:50.242Z] + case "${OS_FAMILY}" in [2023-08-11T20:09:50.242Z] + dpkg -l [2023-08-11T20:09:50.242Z] + grep '^ii' [2023-08-11T20:09:50.242Z] + '[' -f /tmp/packages_start.txt ']' [2023-08-11T20:09:50.242Z] + '[' -f /tmp/packages_end.txt ']' [2023-08-11T20:09:50.242Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-08-11T20:09:50.242Z] + '[' /w/workspace/foundry_device-usb-camera_PR-269 ']' [2023-08-11T20:09:50.242Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-269/archives/ [2023-08-11T20:09:50.242Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-269/archives/ [Pipeline] echo [2023-08-11T20:09:50.251Z] 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-269/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-08-11T20:09:50.523Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-11T20:09:51.072Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-11T20:09:51.072Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-11T20:09:51.138Z] prd-ubuntu20.04-docker-8c-8g-3358 does not seem to be running inside a container [2023-08-11T20:09:51.172Z] $ 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-269/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-269 -v /w/workspace/foundry_device-usb-camera_PR-269:/w/workspace/foundry_device-usb-camera_PR-269:rw,z -v /w/workspace/foundry_device-usb-camera_PR-269@tmp:/w/workspace/foundry_device-usb-camera_PR-269@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-08-11T20:09:51.369Z] $ docker top 8964f6996b7ac61a4e532fdff056eea4aa4424150e829d35be841989ad667219 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-11T20:09:51.703Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-08-11T20:09:51.987Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-08-11T20:09:52.268Z] + ls /var/log/sa-host [2023-08-11T20:09:52.268Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-11T20:09:52.416Z] provisioning config files... [2023-08-11T20:09:52.422Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-269@tmp/config7748495219320764227tmp [Pipeline] { [Pipeline] echo [2023-08-11T20:09:52.433Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-11T20:09:52.712Z] ---> create-netrc.sh [Pipeline] } [2023-08-11T20:09:52.718Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-08-11T20:09:53.042Z] ---> python-tools-install.sh [Pipeline] echo [2023-08-11T20:09:53.051Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-11T20:09:53.335Z] ---> sudo-logs.sh [2023-08-11T20:09:53.335Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-08-11T20:09:53.364Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-11T20:09:53.645Z] ---> job-cost.sh [2023-08-11T20:09:53.645Z] lf-activate-venv: SKIPPING [2023-08-11T20:09:53.645Z] DEBUG: total: 0.2199999988079071 [2023-08-11T20:09:53.645Z] INFO: Retrieving Stack Cost... [2023-08-11T20:09:53.904Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-11T20:09:54.472Z] INFO: Archiving Costs [Pipeline] echo [2023-08-11T20:09:54.484Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-11T20:09:54.768Z] ---> logs-deploy.sh [2023-08-11T20:09:54.768Z] lf-activate-venv: SKIPPING [2023-08-11T20:09:54.768Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-269/2 [2023-08-11T20:09:54.768Z] INFO: archiving workspace using pattern(s): [2023-08-11T20:09:55.704Z] Archives upload complete. [2023-08-11T20:09:55.704Z] INFO: archiving logs to Nexus [2023-08-11T20:09:56.272Z] ---> uname -a: [2023-08-11T20:09:56.272Z] Linux prd-ubuntu20-04-docker-8c-8g-3358 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2023-08-11T20:09:56.272Z] [2023-08-11T20:09:56.272Z] [2023-08-11T20:09:56.272Z] ---> lscpu: [2023-08-11T20:09:56.272Z] Architecture: x86_64 [2023-08-11T20:09:56.272Z] CPU op-mode(s): 32-bit, 64-bit [2023-08-11T20:09:56.272Z] Byte Order: Little Endian [2023-08-11T20:09:56.272Z] Address sizes: 40 bits physical, 48 bits virtual [2023-08-11T20:09:56.272Z] CPU(s): 8 [2023-08-11T20:09:56.272Z] On-line CPU(s) list: 0-7 [2023-08-11T20:09:56.272Z] Thread(s) per core: 1 [2023-08-11T20:09:56.272Z] Core(s) per socket: 1 [2023-08-11T20:09:56.272Z] Socket(s): 8 [2023-08-11T20:09:56.272Z] NUMA node(s): 1 [2023-08-11T20:09:56.272Z] Vendor ID: AuthenticAMD [2023-08-11T20:09:56.272Z] CPU family: 23 [2023-08-11T20:09:56.272Z] Model: 49 [2023-08-11T20:09:56.272Z] Model name: AMD EPYC-Rome Processor [2023-08-11T20:09:56.272Z] Stepping: 0 [2023-08-11T20:09:56.272Z] CPU MHz: 2799.998 [2023-08-11T20:09:56.272Z] BogoMIPS: 5599.99 [2023-08-11T20:09:56.272Z] Virtualization: AMD-V [2023-08-11T20:09:56.272Z] Hypervisor vendor: KVM [2023-08-11T20:09:56.272Z] Virtualization type: full [2023-08-11T20:09:56.272Z] L1d cache: 256 KiB [2023-08-11T20:09:56.272Z] L1i cache: 256 KiB [2023-08-11T20:09:56.272Z] L2 cache: 4 MiB [2023-08-11T20:09:56.272Z] L3 cache: 128 MiB [2023-08-11T20:09:56.272Z] NUMA node0 CPU(s): 0-7 [2023-08-11T20:09:56.272Z] Vulnerability Itlb multihit: Not affected [2023-08-11T20:09:56.272Z] Vulnerability L1tf: Not affected [2023-08-11T20:09:56.272Z] Vulnerability Mds: Not affected [2023-08-11T20:09:56.272Z] Vulnerability Meltdown: Not affected [2023-08-11T20:09:56.272Z] Vulnerability Mmio stale data: Not affected [2023-08-11T20:09:56.272Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2023-08-11T20:09:56.272Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2023-08-11T20:09:56.272Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2023-08-11T20:09:56.272Z] Vulnerability Srbds: Not affected [2023-08-11T20:09:56.272Z] Vulnerability Tsx async abort: Not affected [2023-08-11T20:09:56.272Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2023-08-11T20:09:56.272Z] [2023-08-11T20:09:56.272Z] [2023-08-11T20:09:56.272Z] ---> nproc: [2023-08-11T20:09:56.272Z] 8 [2023-08-11T20:09:56.272Z] [2023-08-11T20:09:56.272Z] [2023-08-11T20:09:56.272Z] ---> df -h: [2023-08-11T20:09:56.272Z] Filesystem Size Used Avail Use% Mounted on [2023-08-11T20:09:56.272Z] overlay 155G 12G 144G 8% / [2023-08-11T20:09:56.272Z] tmpfs 64M 0 64M 0% /dev [2023-08-11T20:09:56.272Z] tmpfs 16G 0 16G 0% /sys/fs/cgroup [2023-08-11T20:09:56.272Z] shm 64M 0 64M 0% /dev/shm [2023-08-11T20:09:56.272Z] /dev/vda1 155G 12G 144G 8% /facter-os [2023-08-11T20:09:56.272Z] [2023-08-11T20:09:56.272Z]