Pull request #265 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 7adbecab942a7b2115c6abd3dbc7641bc9f3f60a rather than 17c9c1b229f0135c46f4d448d01a1aa896ad8439 Obtained Jenkinsfile from 7adbecab942a7b2115c6abd3dbc7641bc9f3f60a 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-ssh3602344056778084140.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh6388236634113605691.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-265/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-265/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17215125406025350873.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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-ssh18298321328360345288.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-265/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-265/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3016015934527215209.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 ‘prd-ubuntu20.04-docker-8c-8g-2282’ is offline Running on prd-ubuntu20.04-docker-8c-8g-2285 in /w/workspace/foundry_device-usb-camera_PR-265 [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-265 # 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/265/head:refs/remotes/origin/PR-265 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 7adbecab942a7b2115c6abd3dbc7641bc9f3f60a into PR head commit 17c9c1b229f0135c46f4d448d01a1aa896ad8439 Merge succeeded, producing 17c9c1b229f0135c46f4d448d01a1aa896ad8439 Checking out Revision 17c9c1b229f0135c46f4d448d01a1aa896ad8439 (PR-265) Commit message: "fix: name of fps field" > git config core.sparsecheckout # timeout=10 > git checkout -f 17c9c1b229f0135c46f4d448d01a1aa896ad8439 # 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 7adbecab942a7b2115c6abd3dbc7641bc9f3f60a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 17c9c1b229f0135c46f4d448d01a1aa896ad8439 # timeout=10 > git rev-list --no-walk bb936e8e5e6198a2e6d99731e23ef89dc1671a34 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-07-26T21:39:16.654Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-07-26T21:39:16.698Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-07-26T21:39:16.711Z] ========================================================= [2023-07-26T21:39:16.711Z] EdgeX Global Pipelines Version Info [2023-07-26T21:39:16.711Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-07-26T21:39:17.425Z] ------------------- [2023-07-26T21:39:17.426Z] stable info: [2023-07-26T21:39:17.426Z] ------------------- [2023-07-26T21:39:17.426Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-07-26T21:39:17.426Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-26T21:39:17.426Z] Message: update stable to v1.0.250 [2023-07-26T21:39:17.994Z] ------------------- [2023-07-26T21:39:17.994Z] experimental info: [2023-07-26T21:39:17.994Z] ------------------- [2023-07-26T21:39:17.994Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-07-26T21:39:17.994Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-26T21:39:17.994Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-07-26T21:39:18.149Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2023-07-26T21:39:18.166Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2023-07-26T21:39:18.186Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-07-26T21:39:18.206Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-07-26T21:39:18.223Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-07-26T21:39:18.235Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-07-26T21:39:18.253Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-07-26T21:39:18.270Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-07-26T21:39:18.284Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-07-26T21:39:18.298Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-07-26T21:39:18.309Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-07-26T21:39:18.323Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2023-07-26T21:39:18.335Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-07-26T21:39:18.348Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-07-26T21:39:18.365Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-07-26T21:39:18.376Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-07-26T21:39:18.393Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-07-26T21:39:18.411Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-07-26T21:39:18.426Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-07-26T21:39:18.437Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-07-26T21:39:18.456Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-07-26T21:39:18.474Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-07-26T21:39:18.483Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-07-26T21:39:18.500Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-07-26T21:39:18.519Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-07-26T21:39:18.537Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-07-26T21:39:18.557Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-07-26T21:39:18.576Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-265 [Pipeline] echo [2023-07-26T21:39:18.593Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-265 [Pipeline] echo [2023-07-26T21:39:18.613Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-265 [Pipeline] echo [2023-07-26T21:39:18.636Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 17c9c1b229f0135c46f4d448d01a1aa896ad8439 [Pipeline] echo [2023-07-26T21:39:18.654Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 17c9c1b [Pipeline] echo [2023-07-26T21:39:18.676Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-26T21:39:18.718Z] provisioning config files... [2023-07-26T21:39:18.735Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-265@tmp/config13785912892310568627tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-26T21:39:19.035Z] ---> docker-login.sh [2023-07-26T21:39:19.035Z] nexus3.edgexfoundry.org:10001 [2023-07-26T21:39:19.296Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T21:39:19.296Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T21:39:19.296Z] Configure a credential helper to remove this warning. See [2023-07-26T21:39:19.296Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T21:39:19.296Z] [2023-07-26T21:39:19.296Z] Login Succeeded [2023-07-26T21:39:19.296Z] nexus3.edgexfoundry.org:10002 [2023-07-26T21:39:19.296Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T21:39:19.556Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T21:39:19.557Z] Configure a credential helper to remove this warning. See [2023-07-26T21:39:19.557Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T21:39:19.557Z] [2023-07-26T21:39:19.557Z] Login Succeeded [2023-07-26T21:39:19.557Z] nexus3.edgexfoundry.org:10003 [2023-07-26T21:39:19.557Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T21:39:19.557Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T21:39:19.557Z] Configure a credential helper to remove this warning. See [2023-07-26T21:39:19.557Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T21:39:19.557Z] [2023-07-26T21:39:19.557Z] Login Succeeded [2023-07-26T21:39:19.557Z] nexus3.edgexfoundry.org:10004 [2023-07-26T21:39:19.557Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T21:39:19.817Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T21:39:19.817Z] Configure a credential helper to remove this warning. See [2023-07-26T21:39:19.817Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T21:39:19.817Z] [2023-07-26T21:39:19.817Z] Login Succeeded [2023-07-26T21:39:19.817Z] docker.io [2023-07-26T21:39:19.817Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T21:39:20.078Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T21:39:20.078Z] Configure a credential helper to remove this warning. See [2023-07-26T21:39:20.078Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T21:39:20.078Z] [2023-07-26T21:39:20.078Z] Login Succeeded [2023-07-26T21:39:20.078Z] ---> docker-login.sh ends [Pipeline] } [2023-07-26T21:39:20.085Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-07-26T21:39:20.462Z] + git rev-list -1 --merges 17c9c1b229f0135c46f4d448d01a1aa896ad8439~1..17c9c1b229f0135c46f4d448d01a1aa896ad8439 [Pipeline] echo [2023-07-26T21:39:20.498Z] -----------> git rev-list -1 --merges 17c9c1b229f0135c46f4d448d01a1aa896ad8439~1..17c9c1b229f0135c46f4d448d01a1aa896ad8439 17c9c1b229f0135c46f4d448d01a1aa896ad8439 [false] [Pipeline] sh [2023-07-26T21:39:20.782Z] + git log --format=format:%s -1 17c9c1b229f0135c46f4d448d01a1aa896ad8439 [Pipeline] echo [2023-07-26T21:39:20.795Z] ========================================================= [2023-07-26T21:39:20.795Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-07-26T21:39:20.795Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-26T21:39:21.105Z] + git log --format=format:%s -1 17c9c1b229f0135c46f4d448d01a1aa896ad8439 [Pipeline] echo [2023-07-26T21:39:21.116Z] [semverPrep] GIT_COMMIT: 17c9c1b229f0135c46f4d448d01a1aa896ad8439, Commit Message: fix: name of fps field [Pipeline] echo [2023-07-26T21:39:21.127Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-07-26T21:39:21.479Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-26T21:39:21.479Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-07-26T21:39:21.479Z] + [ -e /tmp/ssh_known_hosts ] [2023-07-26T21:39:21.479Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-07-26T21:39:21.479Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-07-26T21:39:21.479Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-07-26T21:39:21.480Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T21:39:21.830Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-26T21:39:21.830Z] [2023-07-26T21:39:21.830Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T21:39:22.128Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-26T21:39:22.128Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-07-26T21:39:22.128Z] b85a868b505f: Pulling fs layer [2023-07-26T21:39:22.128Z] e2be974225ed: Pulling fs layer [2023-07-26T21:39:22.128Z] 339a4e72a1f5: Pulling fs layer [2023-07-26T21:39:22.128Z] 988bab9f4d93: Pulling fs layer [2023-07-26T21:39:22.128Z] 1469e6f7b9e6: Pulling fs layer [2023-07-26T21:39:22.128Z] eaf3925da568: Pulling fs layer [2023-07-26T21:39:22.128Z] bab4dde63d76: Pulling fs layer [2023-07-26T21:39:22.128Z] bde34c3a00c8: Pulling fs layer [2023-07-26T21:39:22.128Z] b352a97aabf1: Pulling fs layer [2023-07-26T21:39:22.128Z] 4872d77fe225: Pulling fs layer [2023-07-26T21:39:22.128Z] 5851b861e8e6: Pulling fs layer [2023-07-26T21:39:22.128Z] bab4dde63d76: Waiting [2023-07-26T21:39:22.128Z] bde34c3a00c8: Waiting [2023-07-26T21:39:22.128Z] b352a97aabf1: Waiting [2023-07-26T21:39:22.128Z] 4872d77fe225: Waiting [2023-07-26T21:39:22.128Z] 5851b861e8e6: Waiting [2023-07-26T21:39:22.128Z] 1469e6f7b9e6: Waiting [2023-07-26T21:39:22.128Z] eaf3925da568: Waiting [2023-07-26T21:39:22.128Z] e2be974225ed: Download complete [2023-07-26T21:39:22.128Z] 988bab9f4d93: Verifying Checksum [2023-07-26T21:39:22.128Z] 988bab9f4d93: Download complete [2023-07-26T21:39:22.128Z] 339a4e72a1f5: Verifying Checksum [2023-07-26T21:39:22.128Z] 339a4e72a1f5: Download complete [2023-07-26T21:39:22.128Z] 1469e6f7b9e6: Download complete [2023-07-26T21:39:22.388Z] eaf3925da568: Verifying Checksum [2023-07-26T21:39:22.388Z] eaf3925da568: Download complete [2023-07-26T21:39:22.388Z] bde34c3a00c8: Verifying Checksum [2023-07-26T21:39:22.388Z] bde34c3a00c8: Download complete [2023-07-26T21:39:22.388Z] b352a97aabf1: Download complete [2023-07-26T21:39:22.388Z] 4872d77fe225: Verifying Checksum [2023-07-26T21:39:22.388Z] 4872d77fe225: Download complete [2023-07-26T21:39:22.388Z] 5851b861e8e6: Download complete [2023-07-26T21:39:22.388Z] b85a868b505f: Verifying Checksum [2023-07-26T21:39:22.388Z] b85a868b505f: Download complete [2023-07-26T21:39:22.646Z] bab4dde63d76: Verifying Checksum [2023-07-26T21:39:22.646Z] bab4dde63d76: Download complete [2023-07-26T21:39:23.588Z] b85a868b505f: Pull complete [2023-07-26T21:39:23.846Z] e2be974225ed: Pull complete [2023-07-26T21:39:24.414Z] 339a4e72a1f5: Pull complete [2023-07-26T21:39:24.414Z] 988bab9f4d93: Pull complete [2023-07-26T21:39:24.675Z] 1469e6f7b9e6: Pull complete [2023-07-26T21:39:24.675Z] eaf3925da568: Pull complete [2023-07-26T21:39:26.575Z] bab4dde63d76: Pull complete [2023-07-26T21:39:26.575Z] bde34c3a00c8: Pull complete [2023-07-26T21:39:26.835Z] b352a97aabf1: Pull complete [2023-07-26T21:39:26.835Z] 4872d77fe225: Pull complete [2023-07-26T21:39:26.835Z] 5851b861e8e6: Pull complete [2023-07-26T21:39:26.835Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-07-26T21:39:26.835Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-26T21:39:26.835Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-26T21:39:26.948Z] prd-ubuntu20.04-docker-8c-8g-2285 does not seem to be running inside a container [2023-07-26T21:39:26.978Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-265 -v /w/workspace/foundry_device-usb-camera_PR-265:/w/workspace/foundry_device-usb-camera_PR-265:rw,z -v /w/workspace/foundry_device-usb-camera_PR-265@tmp:/w/workspace/foundry_device-usb-camera_PR-265@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-07-26T21:39:30.490Z] $ docker top 2fdc6668eb23aacf232b4aa1dd544dfa6519a3301e7704709e4ed7e1e90f427f -eo pid,comm [2023-07-26T21:39:30.544Z] 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-07-26T21:39:30.544Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-26T21:39:30.587Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-26T21:39:30.587Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-26T21:39:30.703Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-26T21:39:30.706Z] $ docker exec 2fdc6668eb23aacf232b4aa1dd544dfa6519a3301e7704709e4ed7e1e90f427f ssh-agent [2023-07-26T21:39:30.813Z] SSH_AUTH_SOCK=/tmp/ssh-HbUEBPJLoVdj/agent.33 [2023-07-26T21:39:30.813Z] SSH_AGENT_PID=39 [2023-07-26T21:39:30.820Z] Running ssh-add (command line suppressed) [2023-07-26T21:39:30.937Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-265@tmp/private_key_4282366361653698921.key (/w/workspace/foundry_device-usb-camera_PR-265@tmp/private_key_4282366361653698921.key) [2023-07-26T21:39:30.950Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-26T21:39:31.238Z] + git tag --points-at HEAD [Pipeline] } [2023-07-26T21:39:31.251Z] $ docker exec --env ******** --env ******** 2fdc6668eb23aacf232b4aa1dd544dfa6519a3301e7704709e4ed7e1e90f427f ssh-agent -k [2023-07-26T21:39:31.356Z] unset SSH_AUTH_SOCK; [2023-07-26T21:39:31.356Z] unset SSH_AGENT_PID; [2023-07-26T21:39:31.357Z] echo Agent pid 39 killed; [2023-07-26T21:39:31.369Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-07-26T21:39:31.393Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-26T21:39:31.393Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-26T21:39:31.500Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-26T21:39:31.503Z] $ docker exec 2fdc6668eb23aacf232b4aa1dd544dfa6519a3301e7704709e4ed7e1e90f427f ssh-agent [2023-07-26T21:39:31.602Z] SSH_AUTH_SOCK=/tmp/ssh-y3C8kTQVpmHS/agent.71 [2023-07-26T21:39:31.602Z] SSH_AGENT_PID=77 [2023-07-26T21:39:31.607Z] Running ssh-add (command line suppressed) [2023-07-26T21:39:31.719Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-265@tmp/private_key_18414008372637288038.key (/w/workspace/foundry_device-usb-camera_PR-265@tmp/private_key_18414008372637288038.key) [2023-07-26T21:39:31.733Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-26T21:39:32.018Z] + git semver init [2023-07-26T21:39:32.277Z] 2023-07-26 21:39:32,196 [run_init] DEBUG init version:0.0.0 force:False [2023-07-26T21:39:32.277Z] 2023-07-26 21:39:32,197 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-265/.semver [2023-07-26T21:39:32.277Z] 2023-07-26 21:39:32,197 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-265/.semver [2023-07-26T21:39:32.277Z] 2023-07-26 21:39:32,197 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-265/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-265, universal_newlines=False, shell=None, istream=None) [2023-07-26T21:39:33.216Z] 2023-07-26 21:39:33,003 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-265/.git/info/exclude [2023-07-26T21:39:33.216Z] 2023-07-26 21:39:33,003 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-265/.semver/PR-265 with force:False [2023-07-26T21:39:33.217Z] 2023-07-26 21:39:33,003 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-265/.semver/PR-265 [2023-07-26T21:39:33.217Z] 2023-07-26 21:39:33,006 [execute] INFO git cat-file --batch-check [2023-07-26T21:39:33.217Z] 2023-07-26 21:39:33,006 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-265/.semver, universal_newlines=False, shell=None, istream=) [2023-07-26T21:39:33.217Z] 2023-07-26 21:39:33,010 [execute] INFO git cat-file --batch [2023-07-26T21:39:33.217Z] 2023-07-26 21:39:33,010 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-265/.semver, universal_newlines=False, shell=None, istream=) [2023-07-26T21:39:33.217Z] 2023-07-26 21:39:33,015 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-265/.semver/PR-265 [2023-07-26T21:39:33.217Z] 0.0.0 [Pipeline] } [2023-07-26T21:39:33.228Z] $ docker exec --env ******** --env ******** 2fdc6668eb23aacf232b4aa1dd544dfa6519a3301e7704709e4ed7e1e90f427f ssh-agent -k [2023-07-26T21:39:33.324Z] unset SSH_AUTH_SOCK; [2023-07-26T21:39:33.325Z] unset SSH_AGENT_PID; [2023-07-26T21:39:33.325Z] echo Agent pid 77 killed; [2023-07-26T21:39:33.334Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-26T21:39:33.636Z] + git semver [Pipeline] } [2023-07-26T21:39:33.909Z] $ docker stop --time=1 2fdc6668eb23aacf232b4aa1dd544dfa6519a3301e7704709e4ed7e1e90f427f [2023-07-26T21:39:35.229Z] $ docker rm -f --volumes 2fdc6668eb23aacf232b4aa1dd544dfa6519a3301e7704709e4ed7e1e90f427f [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-26T21:39:35.558Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-07-26T21:39:35.781Z] Stashed 1 file(s) [Pipeline] echo [2023-07-26T21:39:35.784Z] [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-07-26T21:39:35.898Z] provisioning config files... [2023-07-26T21:39:35.908Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-265@tmp/config10920868460805811044tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-26T21:39:36.205Z] ---> docker-login.sh [2023-07-26T21:39:36.205Z] nexus3.edgexfoundry.org:10001 [2023-07-26T21:39:36.205Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T21:39:36.205Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T21:39:36.205Z] Configure a credential helper to remove this warning. See [2023-07-26T21:39:36.205Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T21:39:36.205Z] [2023-07-26T21:39:36.205Z] Login Succeeded [2023-07-26T21:39:36.205Z] nexus3.edgexfoundry.org:10002 [2023-07-26T21:39:36.205Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T21:39:36.205Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T21:39:36.205Z] Configure a credential helper to remove this warning. See [2023-07-26T21:39:36.205Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T21:39:36.205Z] [2023-07-26T21:39:36.205Z] Login Succeeded [2023-07-26T21:39:36.205Z] nexus3.edgexfoundry.org:10003 [2023-07-26T21:39:36.465Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T21:39:36.465Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T21:39:36.465Z] Configure a credential helper to remove this warning. See [2023-07-26T21:39:36.465Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T21:39:36.465Z] [2023-07-26T21:39:36.465Z] Login Succeeded [2023-07-26T21:39:36.465Z] nexus3.edgexfoundry.org:10004 [2023-07-26T21:39:36.465Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T21:39:36.465Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T21:39:36.465Z] Configure a credential helper to remove this warning. See [2023-07-26T21:39:36.465Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T21:39:36.465Z] [2023-07-26T21:39:36.465Z] Login Succeeded [2023-07-26T21:39:36.465Z] docker.io [2023-07-26T21:39:36.724Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T21:39:36.983Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T21:39:36.984Z] Configure a credential helper to remove this warning. See [2023-07-26T21:39:36.984Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T21:39:36.984Z] [2023-07-26T21:39:36.984Z] Login Succeeded [2023-07-26T21:39:36.984Z] ---> docker-login.sh ends [Pipeline] } [2023-07-26T21:39:36.990Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-26T21:39:37.048Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-26T21:39:37.060Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-26T21:39:37.071Z] ========================================================= [2023-07-26T21:39:37.071Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-07-26T21:39:37.071Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T21:39:37.388Z] + 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-07-26T21:39:37.388Z] Sending build context to Docker daemon 2.038MB [2023-07-26T21:39:37.388Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-07-26T21:39:37.388Z] Step 2/13 : FROM ${BASE} AS builder [2023-07-26T21:39:37.388Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-07-26T21:39:37.388Z] 4db1b89c0bd1: Pulling fs layer [2023-07-26T21:39:37.388Z] 6911f1a30b25: Pulling fs layer [2023-07-26T21:39:37.388Z] e194b8c5c2a9: Pulling fs layer [2023-07-26T21:39:37.388Z] 6863d3e3a2b1: Pulling fs layer [2023-07-26T21:39:37.388Z] ec0bb842ea78: Pulling fs layer [2023-07-26T21:39:37.388Z] 40a00589a448: Pulling fs layer [2023-07-26T21:39:37.388Z] 6c08303d61cc: Pulling fs layer [2023-07-26T21:39:37.388Z] 798269fcf238: Pulling fs layer [2023-07-26T21:39:37.388Z] 6863d3e3a2b1: Waiting [2023-07-26T21:39:37.388Z] ec0bb842ea78: Waiting [2023-07-26T21:39:37.388Z] 40a00589a448: Waiting [2023-07-26T21:39:37.388Z] 6c08303d61cc: Waiting [2023-07-26T21:39:37.388Z] 798269fcf238: Waiting [2023-07-26T21:39:37.388Z] 6911f1a30b25: Verifying Checksum [2023-07-26T21:39:37.388Z] 6911f1a30b25: Download complete [2023-07-26T21:39:37.388Z] 6863d3e3a2b1: Verifying Checksum [2023-07-26T21:39:37.649Z] 6863d3e3a2b1: Download complete [2023-07-26T21:39:37.649Z] ec0bb842ea78: Verifying Checksum [2023-07-26T21:39:37.649Z] ec0bb842ea78: Download complete [2023-07-26T21:39:37.649Z] 4db1b89c0bd1: Verifying Checksum [2023-07-26T21:39:37.649Z] 4db1b89c0bd1: Download complete [2023-07-26T21:39:37.649Z] 40a00589a448: Verifying Checksum [2023-07-26T21:39:37.649Z] 40a00589a448: Download complete [2023-07-26T21:39:37.649Z] 4db1b89c0bd1: Pull complete [2023-07-26T21:39:37.911Z] 6911f1a30b25: Pull complete [2023-07-26T21:39:38.170Z] 798269fcf238: Verifying Checksum [2023-07-26T21:39:38.170Z] 798269fcf238: Download complete [2023-07-26T21:39:38.170Z] e194b8c5c2a9: Verifying Checksum [2023-07-26T21:39:38.170Z] e194b8c5c2a9: Download complete [2023-07-26T21:39:38.428Z] 6c08303d61cc: Verifying Checksum [2023-07-26T21:39:38.428Z] 6c08303d61cc: Download complete [2023-07-26T21:39:41.710Z] e194b8c5c2a9: Pull complete [2023-07-26T21:39:41.710Z] 6863d3e3a2b1: Pull complete [2023-07-26T21:39:41.710Z] ec0bb842ea78: Pull complete [2023-07-26T21:39:41.969Z] 40a00589a448: Pull complete [2023-07-26T21:39:44.497Z] 6c08303d61cc: Pull complete [2023-07-26T21:39:45.065Z] 798269fcf238: Pull complete [2023-07-26T21:39:45.065Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-07-26T21:39:45.065Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-07-26T21:39:45.065Z] ---> ec979cd7f677 [2023-07-26T21:39:45.065Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-07-26T21:39:50.869Z] Still waiting to schedule task [2023-07-26T21:39:50.869Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-2283’ is offline [2023-07-26T21:39:53.255Z] ---> Running in 8aa47a4c6d7e [2023-07-26T21:39:53.255Z] Removing intermediate container 8aa47a4c6d7e [2023-07-26T21:39:53.255Z] ---> 4df89e47a4b5 [2023-07-26T21:39:53.255Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-26T21:39:53.255Z] ---> Running in a9377dacd9ce [2023-07-26T21:39:53.255Z] Removing intermediate container a9377dacd9ce [2023-07-26T21:39:53.255Z] ---> 23e77b269af1 [2023-07-26T21:39:53.255Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-07-26T21:39:53.255Z] ---> Running in e903e043282d [2023-07-26T21:39:53.255Z] Removing intermediate container e903e043282d [2023-07-26T21:39:53.255Z] ---> 077b3d9ef8a9 [2023-07-26T21:39:53.255Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-07-26T21:39:53.255Z] ---> Running in 2660b9d0c294 [2023-07-26T21:39:53.255Z] Removing intermediate container 2660b9d0c294 [2023-07-26T21:39:53.255Z] ---> 66d7ca0d14ba [2023-07-26T21:39:53.255Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-26T21:39:53.255Z] ---> Running in 2242d7e893b1 [2023-07-26T21:39:53.255Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-26T21:39:53.255Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-26T21:39:53.255Z] (1/14) Installing libintl (0.21.1-r1) [2023-07-26T21:39:53.255Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-07-26T21:39:53.255Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-07-26T21:39:53.255Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-07-26T21:39:53.255Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-07-26T21:39:53.255Z] (6/14) Installing udev-init-scripts (35-r1) [2023-07-26T21:39:53.255Z] (7/14) Installing libblkid (2.38.1-r1) [2023-07-26T21:39:53.255Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-07-26T21:39:53.255Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-07-26T21:39:53.255Z] (10/14) Installing kmod-libs (30-r1) [2023-07-26T21:39:53.255Z] (11/14) Installing eudev (3.2.11-r4) [2023-07-26T21:39:53.255Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-07-26T21:39:53.255Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-07-26T21:39:53.255Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-07-26T21:39:53.255Z] Executing busybox-1.35.0-r29.trigger [2023-07-26T21:39:53.255Z] Executing eudev-3.2.11-r4.trigger [2023-07-26T21:39:53.255Z] OK: 272 MiB in 67 packages [2023-07-26T21:39:54.190Z] Removing intermediate container 2242d7e893b1 [2023-07-26T21:39:54.190Z] ---> 2f18bcdc53b0 [2023-07-26T21:39:54.190Z] Step 8/13 : WORKDIR /device-usb-camera [2023-07-26T21:39:54.190Z] ---> Running in 2007d27dc01b [2023-07-26T21:39:54.190Z] Removing intermediate container 2007d27dc01b [2023-07-26T21:39:54.190Z] ---> 07c1d811ce96 [2023-07-26T21:39:54.190Z] Step 9/13 : COPY go.mod vendor* ./ [2023-07-26T21:39:54.190Z] ---> 8629cf8ca7e4 [2023-07-26T21:39:54.190Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-26T21:39:54.190Z] ---> Running in 591340bafc8d [2023-07-26T21:40:26.347Z] Removing intermediate container 591340bafc8d [2023-07-26T21:40:26.347Z] ---> 28da8b532368 [2023-07-26T21:40:26.347Z] Step 11/13 : COPY . . [2023-07-26T21:40:26.347Z] ---> 421cff02c86b [2023-07-26T21:40:26.347Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-07-26T21:40:26.347Z] ---> Running in 4a2e67bff3a9 [2023-07-26T21:40:26.347Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-26T21:40:26.347Z] Dload Upload Total Spent Left Speed [2023-07-26T21:40:26.347Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 8559 0 --:--:-- --:--:-- --:--:-- 8634 [2023-07-26T21:40:26.608Z] Removing intermediate container 4a2e67bff3a9 [2023-07-26T21:40:26.608Z] ---> 7b70807bd453 [2023-07-26T21:40:26.608Z] Step 13/13 : RUN ${MAKE} [2023-07-26T21:40:26.608Z] ---> Running in 4b2964e5dd79 [2023-07-26T21:40:26.866Z] noop [2023-07-26T21:40:27.125Z] Removing intermediate container 4b2964e5dd79 [2023-07-26T21:40:27.125Z] ---> b905355cec3b [2023-07-26T21:40:27.125Z] Successfully built b905355cec3b [2023-07-26T21:40:27.125Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T21:40:27.430Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-26T21:40:27.430Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-26T21:40:27.499Z] prd-ubuntu20.04-docker-8c-8g-2285 does not seem to be running inside a container [2023-07-26T21:40:27.538Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-265 -v /w/workspace/foundry_device-usb-camera_PR-265:/w/workspace/foundry_device-usb-camera_PR-265:rw,z -v /w/workspace/foundry_device-usb-camera_PR-265@tmp:/w/workspace/foundry_device-usb-camera_PR-265@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 ******** ci-base-image-x86_64 cat [2023-07-26T21:40:27.874Z] $ docker top 7485c115fabb4ddeb8d38138458e74393c3396d20809013e3140a85be6d7dcd6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-26T21:40:28.222Z] + go version [2023-07-26T21:40:28.222Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-07-26T21:40:28.232Z] $ docker stop --time=1 7485c115fabb4ddeb8d38138458e74393c3396d20809013e3140a85be6d7dcd6 [2023-07-26T21:40:29.498Z] $ docker rm -f --volumes 7485c115fabb4ddeb8d38138458e74393c3396d20809013e3140a85be6d7dcd6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T21:40:29.922Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-26T21:40:29.922Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-26T21:40:29.998Z] prd-ubuntu20.04-docker-8c-8g-2285 does not seem to be running inside a container [2023-07-26T21:40:30.036Z] $ 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-265 -v /w/workspace/foundry_device-usb-camera_PR-265:/w/workspace/foundry_device-usb-camera_PR-265:rw,z -v /w/workspace/foundry_device-usb-camera_PR-265@tmp:/w/workspace/foundry_device-usb-camera_PR-265@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 ******** ci-base-image-x86_64 cat [2023-07-26T21:40:30.359Z] $ docker top 53733349d884a316b6f05082bff8aa9175252a107fbcb175fc606be996e93723 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-26T21:40:30.702Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-265 [Pipeline] fileExists [Pipeline] sh [2023-07-26T21:40:31.059Z] + make test [2023-07-26T21:40:31.059Z] go test ./... -coverprofile=coverage.out ./... [2023-07-26T21:40:36.351Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-07-26T21:40:46.312Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-07-26T21:40:46.312Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.020s coverage: 3.5% of statements [2023-07-26T21:40:51.574Z] go vet ./... [2023-07-26T21:40:54.853Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-07-26T21:40:54.853Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-07-26T21:40:54.853Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-07-26T21:40:54.867Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-07-26T21:40:54.885Z] $ docker stop --time=1 53733349d884a316b6f05082bff8aa9175252a107fbcb175fc606be996e93723 [2023-07-26T21:40:59.360Z] $ docker rm -f --volumes 53733349d884a316b6f05082bff8aa9175252a107fbcb175fc606be996e93723 [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-26T21:40:59.832Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-07-26T21:40:59.876Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-07-26T21:41:00.515Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-07-26T21:41:00.797Z] + ls -al . [2023-07-26T21:41:00.797Z] total 204 [2023-07-26T21:41:00.797Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 26 21:40 . [2023-07-26T21:41:00.797Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 26 21:39 .. [2023-07-26T21:41:00.797Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 26 21:39 .git [2023-07-26T21:41:00.797Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 26 21:39 .github [2023-07-26T21:41:00.797Z] -rw-rw-r-- 1 jenkins jenkins 414 Jul 26 21:39 .gitignore [2023-07-26T21:41:00.797Z] -rw-rw-r-- 1 jenkins jenkins 45 Jul 26 21:39 .golangci.yml [2023-07-26T21:41:00.797Z] -rw-rw-r-- 1 jenkins jenkins 77 Jul 26 21:39 .hadolint.yml [2023-07-26T21:41:00.797Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 26 21:39 .semver [2023-07-26T21:41:00.797Z] -rw-rw-r-- 1 jenkins jenkins 9783 Jul 26 21:39 Attribution.txt [2023-07-26T21:41:00.797Z] -rw-rw-r-- 1 jenkins jenkins 11903 Jul 26 21:39 CHANGELOG.md [2023-07-26T21:41:00.797Z] -rw-rw-r-- 1 jenkins jenkins 2453 Jul 26 21:39 Dockerfile [2023-07-26T21:41:00.797Z] -rw-rw-r-- 1 jenkins jenkins 678 Jul 26 21:39 GOVERNANCE.md [2023-07-26T21:41:00.797Z] -rw-rw-r-- 1 jenkins jenkins 659 Jul 26 21:39 Jenkinsfile [2023-07-26T21:41:00.797Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 26 21:39 LICENSE [2023-07-26T21:41:00.797Z] -rw-rw-r-- 1 jenkins jenkins 2364 Jul 26 21:39 Makefile [2023-07-26T21:41:00.797Z] -rw-rw-r-- 1 jenkins jenkins 622 Jul 26 21:39 OWNERS.md [2023-07-26T21:41:00.797Z] -rw-rw-r-- 1 jenkins jenkins 2575 Jul 26 21:39 README.md [2023-07-26T21:41:00.797Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 26 21:39 VERSION [2023-07-26T21:41:00.797Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 26 21:39 bin [2023-07-26T21:41:00.797Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 26 21:39 cmd [2023-07-26T21:41:00.797Z] -rw-r--r-- 1 jenkins jenkins 43708 Jul 26 21:40 coverage.out [2023-07-26T21:41:00.797Z] -rwxrwxr-x 1 jenkins jenkins 140 Jul 26 21:39 docker-entrypoint.sh [2023-07-26T21:41:00.797Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 26 21:39 docs [2023-07-26T21:41:00.797Z] -rw-rw-r-- 1 jenkins jenkins 3416 Jul 26 21:39 go.mod [2023-07-26T21:41:00.797Z] -rw-rw-r-- 1 jenkins jenkins 31482 Jul 26 21:39 go.sum [2023-07-26T21:41:00.797Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 26 21:39 internal [2023-07-26T21:41:00.797Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 26 21:39 snap [2023-07-26T21:41:00.797Z] -rw-rw-r-- 1 jenkins jenkins 231 Jul 26 21:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T21:41:01.107Z] + 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=17c9c1b229f0135c46f4d448d01a1aa896ad8439 --label arch=amd64 --label version=0.0.0 . [2023-07-26T21:41:01.107Z] Sending build context to Docker daemon 2.082MB [2023-07-26T21:41:01.107Z] Step 1/36 : ARG BASE=golang:1.20-alpine3.17 [2023-07-26T21:41:01.107Z] Step 2/36 : FROM ${BASE} AS builder [2023-07-26T21:41:01.107Z] ---> b905355cec3b [2023-07-26T21:41:01.107Z] Step 3/36 : ARG ADD_BUILD_TAGS="" [2023-07-26T21:41:01.107Z] ---> Running in e687e3b37c12 [2023-07-26T21:41:01.364Z] Removing intermediate container e687e3b37c12 [2023-07-26T21:41:01.364Z] ---> 83f4a6496250 [2023-07-26T21:41:01.364Z] Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-26T21:41:01.364Z] ---> Running in 7f8cc00c7251 [2023-07-26T21:41:01.364Z] Removing intermediate container 7f8cc00c7251 [2023-07-26T21:41:01.364Z] ---> 225aa6987e25 [2023-07-26T21:41:01.364Z] Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-07-26T21:41:01.364Z] ---> Running in f257b75b3c25 [2023-07-26T21:41:01.364Z] Removing intermediate container f257b75b3c25 [2023-07-26T21:41:01.364Z] ---> 038ce498219a [2023-07-26T21:41:01.364Z] Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-07-26T21:41:01.364Z] ---> Running in 3b8b62f0b861 [2023-07-26T21:41:01.622Z] Removing intermediate container 3b8b62f0b861 [2023-07-26T21:41:01.622Z] ---> a76cf0888640 [2023-07-26T21:41:01.622Z] Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-26T21:41:01.622Z] ---> Running in 787cdfcf41bb [2023-07-26T21:41:01.879Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-26T21:41:02.136Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-26T21:41:02.394Z] OK: 272 MiB in 67 packages [2023-07-26T21:41:02.652Z] Removing intermediate container 787cdfcf41bb [2023-07-26T21:41:02.652Z] ---> eb14e7ca1e5f [2023-07-26T21:41:02.652Z] Step 8/36 : WORKDIR /device-usb-camera [2023-07-26T21:41:02.652Z] ---> Running in b32538063572 [2023-07-26T21:41:02.652Z] Removing intermediate container b32538063572 [2023-07-26T21:41:02.652Z] ---> 59510296fb7b [2023-07-26T21:41:02.652Z] Step 9/36 : COPY go.mod vendor* ./ [2023-07-26T21:41:02.909Z] ---> 0137d0e75305 [2023-07-26T21:41:02.909Z] Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-26T21:41:02.909Z] ---> Running in 6329b5decbef [2023-07-26T21:41:03.857Z] Removing intermediate container 6329b5decbef [2023-07-26T21:41:03.857Z] ---> 7cc877ade2b2 [2023-07-26T21:41:03.857Z] Step 11/36 : COPY . . [2023-07-26T21:41:03.857Z] ---> 363e0de1090a [2023-07-26T21:41:03.857Z] Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-07-26T21:41:03.857Z] ---> Running in 94d99cd485ae [2023-07-26T21:41:04.116Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-26T21:41:04.116Z] Dload Upload Total Spent Left Speed [2023-07-26T21:41:04.116Z] 0  0  0  0  0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 18458 0 --:--:-- --:--:-- --:--:-- 18631 [2023-07-26T21:41:04.375Z] Removing intermediate container 94d99cd485ae [2023-07-26T21:41:04.375Z] ---> 194852868ae5 [2023-07-26T21:41:04.375Z] Step 13/36 : RUN ${MAKE} [2023-07-26T21:41:04.635Z] ---> Running in 99138e1db871 [2023-07-26T21:41:04.635Z] 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-07-26T21:41:22.489Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2286 in /w/workspace/foundry_device-usb-camera_PR-265 [Pipeline] { [Pipeline] ws [2023-07-26T21:41:22.503Z] Running in /w/workspace/device-usb-camera/27 [Pipeline] { [Pipeline] checkout [2023-07-26T21:41:22.542Z] Selected Git installation does not exist. Using Default [2023-07-26T21:41:22.542Z] The recommended git tool is: NONE [2023-07-26T21:41:26.567Z] Removing intermediate container 99138e1db871 [2023-07-26T21:41:26.567Z] ---> 4f9afdfe4243 [2023-07-26T21:41:26.567Z] Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-07-26T21:41:26.567Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-07-26T21:41:26.567Z] 4acc49c71d14: Pulling fs layer [2023-07-26T21:41:26.827Z] 4acc49c71d14: Download complete [2023-07-26T21:41:27.086Z] 4acc49c71d14: Pull complete [2023-07-26T21:41:27.086Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-07-26T21:41:27.086Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-07-26T21:41:27.086Z] ---> 01a2bd3e5fff [2023-07-26T21:41:27.086Z] Step 15/36 : FROM alpine:3.17 [2023-07-26T21:41:27.506Z] using credential edgex-jenkins-ssh [2023-07-26T21:41:27.525Z] Cloning the remote Git repository [2023-07-26T21:41:27.654Z] 3.17: Pulling from library/alpine [2023-07-26T21:41:27.654Z] 4db1b89c0bd1: Already exists [2023-07-26T21:41:27.937Z] Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 [2023-07-26T21:41:27.937Z] Status: Downloaded newer image for alpine:3.17 [2023-07-26T21:41:27.937Z] ---> 1f73a9d63274 [2023-07-26T21:41:27.937Z] Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-07-26T21:41:28.195Z] ---> Running in 841a0519e9ad [2023-07-26T21:41:28.195Z] Removing intermediate container 841a0519e9ad [2023-07-26T21:41:28.195Z] ---> bef515428248 [2023-07-26T21:41:28.195Z] Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-07-26T21:41:28.195Z] ---> Running in b1076fc2f737 [2023-07-26T21:41:28.454Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-26T21:41:27.564Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2023-07-26T21:41:27.653Z] > git init /w/workspace/device-usb-camera/27 # timeout=10 [2023-07-26T21:41:27.785Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-07-26T21:41:27.786Z] > git --version # timeout=10 [2023-07-26T21:41:27.806Z] > git --version # 'git version 2.25.1' [2023-07-26T21:41:27.808Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-26T21:41:27.946Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-26T21:41:28.713Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-26T21:41:28.970Z] (1/86) Installing dumb-init (1.2.5-r2) [2023-07-26T21:41:28.970Z] (2/86) Installing sdl2 (2.26.5-r0) [2023-07-26T21:41:28.970Z] (3/86) Installing svt-av1-libs (1.3.0-r0) [2023-07-26T21:41:28.970Z] (4/86) Installing libxau (1.0.10-r0) [2023-07-26T21:41:28.970Z] (5/86) Installing libmd (1.0.4-r0) [2023-07-26T21:41:28.970Z] (6/86) Installing libbsd (0.11.7-r0) [2023-07-26T21:41:28.970Z] (7/86) Installing libxdmcp (1.1.4-r0) [2023-07-26T21:41:28.970Z] (8/86) Installing libxcb (1.15-r0) [2023-07-26T21:41:28.970Z] (9/86) Installing libx11 (1.8.4-r1) [2023-07-26T21:41:28.970Z] (10/86) Installing aom-libs (3.5.0-r0) [2023-07-26T21:41:28.970Z] (11/86) Installing alsa-lib (1.2.8-r0) [2023-07-26T21:41:29.229Z] (12/86) Installing libexpat (2.5.0-r0) [2023-07-26T21:41:29.229Z] (13/86) Installing brotli-libs (1.0.9-r9) [2023-07-26T21:41:29.229Z] (14/86) Installing libbz2 (1.0.8-r4) [2023-07-26T21:41:29.229Z] (15/86) Installing libpng (1.6.38-r0) [2023-07-26T21:41:29.229Z] (16/86) Installing freetype (2.12.1-r0) [2023-07-26T21:41:29.229Z] (17/86) Installing fontconfig (2.14.1-r0) [2023-07-26T21:41:29.229Z] (18/86) Installing fribidi (1.0.12-r0) [2023-07-26T21:41:29.229Z] (19/86) Installing libffi (3.4.4-r0) [2023-07-26T21:41:29.229Z] (20/86) Installing libintl (0.21.1-r1) [2023-07-26T21:41:29.229Z] (21/86) Installing libblkid (2.38.1-r1) [2023-07-26T21:41:29.229Z] (22/86) Installing libmount (2.38.1-r1) [2023-07-26T21:41:29.229Z] (23/86) Installing pcre2 (10.42-r0) [2023-07-26T21:41:29.229Z] (24/86) Installing glib (2.74.7-r0) [2023-07-26T21:41:29.229Z] (25/86) Installing graphite2 (1.3.14-r2) [2023-07-26T21:41:29.229Z] (26/86) Installing harfbuzz (5.3.1-r1) [2023-07-26T21:41:29.229Z] (27/86) Installing libass (0.16.0-r1) [2023-07-26T21:41:29.229Z] (28/86) Installing libdav1d (1.0.0-r2) [2023-07-26T21:41:29.229Z] (29/86) Installing hwdata-pci (0.364-r0) [2023-07-26T21:41:29.229Z] (30/86) Installing libpciaccess (0.17-r0) [2023-07-26T21:41:29.229Z] (31/86) Installing libdrm (2.4.114-r0) [2023-07-26T21:41:29.229Z] (32/86) Installing gmp (6.2.1-r2) [2023-07-26T21:41:29.229Z] (33/86) Installing nettle (3.8.1-r0) [2023-07-26T21:41:29.229Z] (34/86) Installing p11-kit (0.24.1-r1) [2023-07-26T21:41:29.229Z] (35/86) Installing libtasn1 (4.19.0-r0) [2023-07-26T21:41:29.229Z] (36/86) Installing libunistring (1.1-r0) [2023-07-26T21:41:29.229Z] (37/86) Installing gnutls (3.7.8-r3) [2023-07-26T21:41:29.229Z] (38/86) Installing ncurses-terminfo-base (6.3_p20221119-r1) [2023-07-26T21:41:29.229Z] (39/86) Installing ncurses-libs (6.3_p20221119-r1) [2023-07-26T21:41:29.486Z] (40/86) Installing lame (3.100-r2) [2023-07-26T21:41:29.486Z] (41/86) Installing opus (1.3.1-r1) [2023-07-26T21:41:29.486Z] (42/86) Installing libasyncns (0.8-r1) [2023-07-26T21:41:29.486Z] (43/86) Installing dbus-libs (1.14.8-r0) [2023-07-26T21:41:29.486Z] (44/86) Installing libltdl (2.4.7-r1) [2023-07-26T21:41:29.486Z] (45/86) Installing orc (0.4.33-r0) [2023-07-26T21:41:29.486Z] (46/86) Installing libgcc (12.2.1_git20220924-r4) [2023-07-26T21:41:29.486Z] (47/86) Installing libogg (1.3.5-r2) [2023-07-26T21:41:29.486Z] (48/86) Installing libstdc++ (12.2.1_git20220924-r4) [2023-07-26T21:41:29.486Z] (49/86) Installing flac-libs (1.4.2-r0) [2023-07-26T21:41:29.486Z] (50/86) Installing libvorbis (1.3.7-r0) [2023-07-26T21:41:29.486Z] (51/86) Installing libsndfile (1.1.0-r2) [2023-07-26T21:41:29.487Z] (52/86) Installing libgomp (12.2.1_git20220924-r4) [2023-07-26T21:41:29.487Z] (53/86) Installing soxr (0.1.3-r3) [2023-07-26T21:41:29.487Z] (54/86) Installing speexdsp (1.2.1-r0) [2023-07-26T21:41:29.487Z] (55/86) Installing tdb-libs (1.4.6-r0) [2023-07-26T21:41:29.487Z] (56/86) Installing libpulse (16.1-r6) [2023-07-26T21:41:29.487Z] (57/86) Installing cjson (1.7.15-r3) [2023-07-26T21:41:29.487Z] (58/86) Installing mbedtls (2.28.3-r0) [2023-07-26T21:41:29.487Z] (59/86) Installing librist (0.2.7-r0) [2023-07-26T21:41:29.487Z] (60/86) Installing libsrt (1.5.1-r0) [2023-07-26T21:41:29.487Z] (61/86) Installing libssh (0.10.5-r0) [2023-07-26T21:41:29.487Z] (62/86) Installing libtheora (1.1.1-r16) [2023-07-26T21:41:29.487Z] (63/86) Installing libjpeg-turbo (2.1.4-r0) [2023-07-26T21:41:29.487Z] (64/86) Installing v4l-utils-libs (1.22.1-r2) [2023-07-26T21:41:29.487Z] (65/86) Installing libxext (1.3.5-r0) [2023-07-26T21:41:29.487Z] (66/86) Installing libxfixes (6.0.0-r0) [2023-07-26T21:41:29.487Z] (67/86) Installing wayland-libs-client (1.21.0-r1) [2023-07-26T21:41:29.487Z] (68/86) Installing libva (2.16.0-r0) [2023-07-26T21:41:29.487Z] (69/86) Installing libvdpau (1.5-r0) [2023-07-26T21:41:29.487Z] (70/86) Installing vidstab (1.1.0-r2) [2023-07-26T21:41:29.487Z] (71/86) Installing libvpx (1.12.0-r1) [2023-07-26T21:41:29.745Z] (72/86) Installing libwebp (1.2.4-r2) [2023-07-26T21:41:29.745Z] (73/86) Installing x264-libs (0.164_git20220602-r0) [2023-07-26T21:41:29.745Z] (74/86) Installing numactl (2.0.16-r1) [2023-07-26T21:41:29.745Z] (75/86) Installing x265-libs (3.5-r3) [2023-07-26T21:41:29.745Z] (76/86) Installing xvidcore (1.3.7-r1) [2023-07-26T21:41:29.745Z] (77/86) Installing libsodium (1.0.18-r2) [2023-07-26T21:41:29.745Z] (78/86) Installing libzmq (4.3.4-r1) [2023-07-26T21:41:29.745Z] (79/86) Installing ffmpeg-libs (5.1.3-r0) [2023-07-26T21:41:28.821Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-07-26T21:41:28.842Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-26T21:41:29.671Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-07-26T21:41:29.713Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-07-26T21:41:29.714Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-26T21:41:29.729Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/265/head:refs/remotes/origin/PR-265 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-07-26T21:41:30.003Z] (80/86) Installing ffmpeg (5.1.3-r0) [2023-07-26T21:41:30.003Z] (81/86) Installing udev-init-scripts (35-r1) [2023-07-26T21:41:30.003Z] (82/86) Installing eudev-libs (3.2.11-r4) [2023-07-26T21:41:30.003Z] (83/86) Installing xz-libs (5.2.9-r0) [2023-07-26T21:41:30.003Z] (84/86) Installing zstd-libs (1.5.5-r0) [2023-07-26T21:41:30.003Z] (85/86) Installing kmod-libs (30-r1) [2023-07-26T21:41:30.003Z] (86/86) Installing eudev (3.2.11-r4) [2023-07-26T21:41:30.003Z] Executing busybox-1.35.0-r29.trigger [2023-07-26T21:41:30.003Z] Executing eudev-3.2.11-r4.trigger [2023-07-26T21:41:30.003Z] OK: 112 MiB in 101 packages [2023-07-26T21:41:31.518Z] Merging remotes/origin/main commit 7adbecab942a7b2115c6abd3dbc7641bc9f3f60a into PR head commit 17c9c1b229f0135c46f4d448d01a1aa896ad8439 [2023-07-26T21:41:31.782Z] Merge succeeded, producing 17c9c1b229f0135c46f4d448d01a1aa896ad8439 [2023-07-26T21:41:31.783Z] Checking out Revision 17c9c1b229f0135c46f4d448d01a1aa896ad8439 (PR-265) [2023-07-26T21:41:32.213Z] Commit message: "fix: name of fps field" [2023-07-26T21:41:31.533Z] > git config core.sparsecheckout # timeout=10 [2023-07-26T21:41:31.600Z] > git checkout -f 17c9c1b229f0135c46f4d448d01a1aa896ad8439 # timeout=10 [2023-07-26T21:41:31.686Z] > git remote # timeout=10 [2023-07-26T21:41:31.709Z] > git config --get remote.origin.url # timeout=10 [2023-07-26T21:41:31.732Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-26T21:41:31.744Z] > git merge 7adbecab942a7b2115c6abd3dbc7641bc9f3f60a # timeout=10 [2023-07-26T21:41:31.766Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-07-26T21:41:31.786Z] > git config core.sparsecheckout # timeout=10 [2023-07-26T21:41:31.802Z] > git checkout -f 17c9c1b229f0135c46f4d448d01a1aa896ad8439 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-26T21:41:33.182Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-07-26T21:41:33.182Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-26T21:41:33.182Z] Dload Upload Total Spent Left Speed [2023-07-26T21:41:33.451Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 46706 0 --:--:-- --:--:-- --:--:-- 46706 [Pipeline] sh [2023-07-26T21:41:34.103Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-07-26T21:41:34.323Z] Removing intermediate container b1076fc2f737 [2023-07-26T21:41:34.323Z] ---> fe5d32ad7e2c [2023-07-26T21:41:34.323Z] Step 18/36 : WORKDIR / [2023-07-26T21:41:34.323Z] ---> Running in c9b6e66b1d74 [2023-07-26T21:41:34.323Z] Removing intermediate container c9b6e66b1d74 [2023-07-26T21:41:34.323Z] ---> 5aa06a015ec7 [2023-07-26T21:41:34.323Z] Step 19/36 : COPY --from=builder /device-usb-camera/cmd / [2023-07-26T21:41:34.424Z] + sudo tee /etc/docker/daemon.new [2023-07-26T21:41:34.424Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-07-26T21:41:34.424Z] { [2023-07-26T21:41:34.424Z] "registry-mirrors": [ [2023-07-26T21:41:34.424Z] "https://nexus3.edgexfoundry.org:10001" [2023-07-26T21:41:34.424Z] ], [2023-07-26T21:41:34.424Z] "bip": "10.250.0.254/24", [2023-07-26T21:41:34.424Z] "hosts": [ [2023-07-26T21:41:34.424Z] "tcp://0.0.0.0:5555", [2023-07-26T21:41:34.424Z] "unix:///var/run/docker.sock" [2023-07-26T21:41:34.424Z] ], [2023-07-26T21:41:34.424Z] "mtu": 1458, [2023-07-26T21:41:34.424Z] "selinux-enabled": true, [2023-07-26T21:41:34.424Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-07-26T21:41:34.424Z] } [Pipeline] sh [2023-07-26T21:41:34.582Z] ---> 2f8bd96f17d2 [2023-07-26T21:41:34.582Z] Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / [2023-07-26T21:41:34.747Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-07-26T21:41:34.841Z] ---> 33ed71151bc1 [2023-07-26T21:41:34.841Z] Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-07-26T21:41:34.841Z] ---> b2caf108394e [2023-07-26T21:41:34.841Z] Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-07-26T21:41:34.841Z] ---> b37b7d63f0cb [2023-07-26T21:41:34.841Z] Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-07-26T21:41:35.082Z] + sudo service docker restart [2023-07-26T21:41:35.100Z] ---> 1eda61faada6 [2023-07-26T21:41:35.100Z] Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-07-26T21:41:35.100Z] ---> 00c97dcab9bb [2023-07-26T21:41:35.100Z] Step 25/36 : COPY --from=rtsp /rtsp-simple-server / [2023-07-26T21:41:36.036Z] ---> 4bee9d9cc174 [2023-07-26T21:41:36.036Z] Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-07-26T21:41:36.036Z] ---> Running in 91566291751d [2023-07-26T21:41:36.295Z] Removing intermediate container 91566291751d [2023-07-26T21:41:36.295Z] ---> eb5041b75400 [2023-07-26T21:41:36.295Z] Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-07-26T21:41:36.553Z] ---> Running in 80f22030fc20 [2023-07-26T21:41:36.811Z] Removing intermediate container 80f22030fc20 [2023-07-26T21:41:36.811Z] ---> cd4f927d7f35 [2023-07-26T21:41:36.811Z] Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-07-26T21:41:36.811Z] ---> Running in 526f9128dd58 [2023-07-26T21:41:37.378Z] Removing intermediate container 526f9128dd58 [2023-07-26T21:41:37.378Z] ---> 734eb0b011fd [2023-07-26T21:41:37.378Z] Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml [2023-07-26T21:41:37.378Z] ---> Running in 3d9b2e8848c7 [2023-07-26T21:41:37.945Z] Removing intermediate container 3d9b2e8848c7 [2023-07-26T21:41:37.945Z] ---> 347ee6d31af3 [2023-07-26T21:41:37.945Z] Step 30/36 : EXPOSE 59983 [2023-07-26T21:41:37.945Z] ---> Running in 60fa6e39f8ea [2023-07-26T21:41:38.204Z] Removing intermediate container 60fa6e39f8ea [2023-07-26T21:41:38.204Z] ---> 47a1e9be7cab [2023-07-26T21:41:38.204Z] Step 31/36 : EXPOSE 8554 [2023-07-26T21:41:38.204Z] ---> Running in 11e9f8b86faf [2023-07-26T21:41:38.204Z] Removing intermediate container 11e9f8b86faf [2023-07-26T21:41:38.204Z] ---> d11658a60c23 [2023-07-26T21:41:38.204Z] Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-07-26T21:41:38.204Z] ---> Running in eee8ccbf7761 [2023-07-26T21:41:38.204Z] Removing intermediate container eee8ccbf7761 [2023-07-26T21:41:38.204Z] ---> 9da15ff4f888 [2023-07-26T21:41:38.204Z] Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-07-26T21:41:38.204Z] ---> Running in beb41d8581a9 [2023-07-26T21:41:38.462Z] Removing intermediate container beb41d8581a9 [2023-07-26T21:41:38.462Z] ---> 3c8ed9504fb0 [2023-07-26T21:41:38.462Z] Step 34/36 : LABEL arch=amd64 [2023-07-26T21:41:38.462Z] ---> Running in 504e158de361 [2023-07-26T21:41:38.462Z] Removing intermediate container 504e158de361 [2023-07-26T21:41:38.462Z] ---> ee20f8365f55 [2023-07-26T21:41:38.462Z] Step 35/36 : LABEL git_sha=17c9c1b229f0135c46f4d448d01a1aa896ad8439 [2023-07-26T21:41:38.462Z] ---> Running in 3398808e97a7 [2023-07-26T21:41:38.462Z] Removing intermediate container 3398808e97a7 [2023-07-26T21:41:38.462Z] ---> 4724e07d660a [2023-07-26T21:41:38.462Z] Step 36/36 : LABEL version=0.0.0 [2023-07-26T21:41:38.462Z] ---> Running in 9d467870df23 [2023-07-26T21:41:38.721Z] Removing intermediate container 9d467870df23 [2023-07-26T21:41:38.721Z] ---> 137383c3afcc [2023-07-26T21:41:38.721Z] [Warning] One or more build-args [ARCH] were not consumed [2023-07-26T21:41:38.721Z] Successfully built 137383c3afcc [2023-07-26T21:41:38.721Z] 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-07-26T21:41:39.197Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-26T21:41:39.197Z] [2023-07-26T21:41:39.197Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T21:41:39.503Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-26T21:41:39.503Z] latest: Pulling from edgex-lftools-log-publisher [2023-07-26T21:41:39.503Z] 5eb5b503b376: Pulling fs layer [2023-07-26T21:41:39.503Z] 5c69ac0246d0: Pulling fs layer [2023-07-26T21:41:39.503Z] ec43610c2a17: Pulling fs layer [2023-07-26T21:41:39.503Z] 3a2ae6a8a46f: Pulling fs layer [2023-07-26T21:41:39.503Z] 33b1e0a273af: Pulling fs layer [2023-07-26T21:41:39.503Z] 5d3b04190fa2: Pulling fs layer [2023-07-26T21:41:39.503Z] 2f39f015ded8: Pulling fs layer [2023-07-26T21:41:39.503Z] 3a2ae6a8a46f: Waiting [2023-07-26T21:41:39.503Z] 33b1e0a273af: Waiting [2023-07-26T21:41:39.503Z] 5d3b04190fa2: Waiting [2023-07-26T21:41:39.503Z] 5c69ac0246d0: Download complete [2023-07-26T21:41:39.503Z] 3a2ae6a8a46f: Verifying Checksum [2023-07-26T21:41:39.503Z] 3a2ae6a8a46f: Download complete [2023-07-26T21:41:39.503Z] ec43610c2a17: Verifying Checksum [2023-07-26T21:41:39.503Z] ec43610c2a17: Download complete [2023-07-26T21:41:39.503Z] 33b1e0a273af: Verifying Checksum [2023-07-26T21:41:39.503Z] 33b1e0a273af: Download complete [2023-07-26T21:41:39.769Z] 5d3b04190fa2: Download complete [2023-07-26T21:41:39.769Z] 5eb5b503b376: Verifying Checksum [2023-07-26T21:41:39.769Z] 5eb5b503b376: Download complete [2023-07-26T21:41:40.337Z] 2f39f015ded8: Download complete [2023-07-26T21:41:40.903Z] 5eb5b503b376: Pull complete [2023-07-26T21:41:40.903Z] 5c69ac0246d0: Pull complete [2023-07-26T21:41:41.468Z] ec43610c2a17: Pull complete [2023-07-26T21:41:41.468Z] 3a2ae6a8a46f: Pull complete [2023-07-26T21:41:41.726Z] 33b1e0a273af: Pull complete [2023-07-26T21:41:41.726Z] 5d3b04190fa2: Pull complete [2023-07-26T21:41:45.911Z] 2f39f015ded8: Pull complete [2023-07-26T21:41:45.911Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-07-26T21:41:45.911Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-26T21:41:45.911Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-26T21:41:45.994Z] prd-ubuntu20.04-docker-8c-8g-2285 does not seem to be running inside a container [2023-07-26T21:41:46.025Z] $ 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-265 -v /w/workspace/foundry_device-usb-camera_PR-265:/w/workspace/foundry_device-usb-camera_PR-265:rw,z -v /w/workspace/foundry_device-usb-camera_PR-265@tmp:/w/workspace/foundry_device-usb-camera_PR-265@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-07-26T21:41:51.696Z] $ docker top c397fb9bb7cf87f0d42ff94a8732c2ee209b730e9f61db3f94c16a33297af8ac -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-26T21:41:52.077Z] ---> job-cost.sh [2023-07-26T21:41:52.077Z] lf-activate-venv: SKIPPING [2023-07-26T21:41:52.077Z] INFO: No Stack... [2023-07-26T21:41:52.336Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-26T21:41:52.904Z] INFO: Archiving Costs [Pipeline] sh [2023-07-26T21:41:53.192Z] + cat /w/workspace/foundry_device-usb-camera_PR-265/archives/cost.csv [2023-07-26T21:41:53.192Z] + cut -d, -f6 [Pipeline] lock [2023-07-26T21:41:53.206Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-265-27-stack-cost] [2023-07-26T21:41:53.213Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-265-27-stack-cost] did not exist. Created. [2023-07-26T21:41:53.213Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-265-27-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-26T21:41:53.335Z] provisioning config files... [2023-07-26T21:41:53.358Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/27@tmp/config277822682992176143tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-26T21:41:53.508Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-07-26T21:41:53.536Z] Stashed 1 file(s) [Pipeline] } [2023-07-26T21:41:53.546Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-265-27-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-26T21:41:53.567Z] $ docker stop --time=1 c397fb9bb7cf87f0d42ff94a8732c2ee209b730e9f61db3f94c16a33297af8ac [2023-07-26T21:41:53.707Z] ---> docker-login.sh [2023-07-26T21:41:53.707Z] nexus3.edgexfoundry.org:10001 [2023-07-26T21:41:53.975Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T21:41:54.246Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T21:41:54.246Z] Configure a credential helper to remove this warning. See [2023-07-26T21:41:54.246Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T21:41:54.246Z] [2023-07-26T21:41:54.246Z] Login Succeeded [2023-07-26T21:41:54.246Z] nexus3.edgexfoundry.org:10002 [2023-07-26T21:41:54.518Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T21:41:54.518Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T21:41:54.518Z] Configure a credential helper to remove this warning. See [2023-07-26T21:41:54.518Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T21:41:54.518Z] [2023-07-26T21:41:54.518Z] Login Succeeded [2023-07-26T21:41:54.518Z] nexus3.edgexfoundry.org:10003 [2023-07-26T21:41:54.705Z] $ docker rm -f --volumes c397fb9bb7cf87f0d42ff94a8732c2ee209b730e9f61db3f94c16a33297af8ac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [2023-07-26T21:41:54.785Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-07-26T21:41:55.056Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T21:41:55.056Z] Configure a credential helper to remove this warning. See [2023-07-26T21:41:55.056Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T21:41:55.056Z] [2023-07-26T21:41:55.056Z] Login Succeeded [2023-07-26T21:41:55.056Z] nexus3.edgexfoundry.org:10004 [2023-07-26T21:41:55.056Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T21:41:55.330Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T21:41:55.330Z] Configure a credential helper to remove this warning. See [2023-07-26T21:41:55.330Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T21:41:55.330Z] [2023-07-26T21:41:55.330Z] Login Succeeded [2023-07-26T21:41:55.330Z] docker.io [2023-07-26T21:41:55.598Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T21:41:55.866Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T21:41:55.866Z] Configure a credential helper to remove this warning. See [2023-07-26T21:41:55.866Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T21:41:55.866Z] [2023-07-26T21:41:55.866Z] Login Succeeded [2023-07-26T21:41:55.866Z] ---> docker-login.sh ends [Pipeline] } [2023-07-26T21:41:55.881Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-26T21:41:56.140Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-26T21:41:56.159Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-26T21:41:56.173Z] ========================================================= [2023-07-26T21:41:56.173Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-07-26T21:41:56.173Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T21:41:56.519Z] + 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-07-26T21:41:56.787Z] Sending build context to Docker daemon 1.234MB [2023-07-26T21:41:56.787Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-07-26T21:41:56.787Z] Step 2/13 : FROM ${BASE} AS builder [2023-07-26T21:41:57.753Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-07-26T21:41:57.753Z] edb6bdbacee9: Pulling fs layer [2023-07-26T21:41:57.753Z] 5f9638ab2659: Pulling fs layer [2023-07-26T21:41:57.753Z] 8d51d6327a98: Pulling fs layer [2023-07-26T21:41:57.753Z] 8b374f2dd631: Pulling fs layer [2023-07-26T21:41:57.753Z] ec14aa9079de: Pulling fs layer [2023-07-26T21:41:57.753Z] 2f466654f4bb: Pulling fs layer [2023-07-26T21:41:57.753Z] 554e91adad29: Pulling fs layer [2023-07-26T21:41:57.753Z] ec14aa9079de: Waiting [2023-07-26T21:41:57.753Z] 2f466654f4bb: Waiting [2023-07-26T21:41:57.753Z] 554e91adad29: Waiting [2023-07-26T21:41:57.753Z] 8b374f2dd631: Waiting [2023-07-26T21:41:57.753Z] 5f9638ab2659: Verifying Checksum [2023-07-26T21:41:57.753Z] 5f9638ab2659: Download complete [2023-07-26T21:41:57.753Z] 8b374f2dd631: Verifying Checksum [2023-07-26T21:41:57.753Z] 8b374f2dd631: Download complete [2023-07-26T21:41:57.753Z] ec14aa9079de: Verifying Checksum [2023-07-26T21:41:57.753Z] ec14aa9079de: Download complete [2023-07-26T21:41:57.753Z] edb6bdbacee9: Verifying Checksum [2023-07-26T21:41:57.753Z] edb6bdbacee9: Download complete [2023-07-26T21:41:58.738Z] edb6bdbacee9: Pull complete [2023-07-26T21:41:59.009Z] 554e91adad29: Verifying Checksum [2023-07-26T21:41:59.009Z] 554e91adad29: Download complete [2023-07-26T21:41:59.278Z] 5f9638ab2659: Pull complete [2023-07-26T21:42:00.249Z] 2f466654f4bb: Verifying Checksum [2023-07-26T21:42:00.249Z] 2f466654f4bb: Download complete [2023-07-26T21:42:00.249Z] 8d51d6327a98: Verifying Checksum [2023-07-26T21:42:00.249Z] 8d51d6327a98: Download complete [2023-07-26T21:42:12.571Z] 8d51d6327a98: Pull complete [2023-07-26T21:42:12.571Z] 8b374f2dd631: Pull complete [2023-07-26T21:42:12.571Z] ec14aa9079de: Pull complete [2023-07-26T21:42:18.034Z] 2f466654f4bb: Pull complete [2023-07-26T21:42:19.978Z] 554e91adad29: Pull complete [2023-07-26T21:42:19.978Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-07-26T21:42:19.978Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-07-26T21:42:19.978Z] ---> 1e15ea492957 [2023-07-26T21:42:19.978Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-07-26T21:42:21.930Z] ---> Running in a72339201844 [2023-07-26T21:42:21.930Z] Removing intermediate container a72339201844 [2023-07-26T21:42:21.930Z] ---> a071b7fadd78 [2023-07-26T21:42:21.930Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-26T21:42:21.931Z] ---> Running in 5a550e515df3 [2023-07-26T21:42:22.199Z] Removing intermediate container 5a550e515df3 [2023-07-26T21:42:22.199Z] ---> 134717dc1fca [2023-07-26T21:42:22.199Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-07-26T21:42:22.466Z] ---> Running in ded7828f2afb [2023-07-26T21:42:22.735Z] Removing intermediate container ded7828f2afb [2023-07-26T21:42:22.735Z] ---> 9331978944ca [2023-07-26T21:42:22.735Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-07-26T21:42:22.735Z] ---> Running in a53b35e393ae [2023-07-26T21:42:23.006Z] Removing intermediate container a53b35e393ae [2023-07-26T21:42:23.006Z] ---> 67c8b1d08394 [2023-07-26T21:42:23.006Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-26T21:42:23.006Z] ---> Running in feb124e5bed6 [2023-07-26T21:42:24.418Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-26T21:42:24.682Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-26T21:42:25.637Z] (1/14) Installing libintl (0.21.1-r1) [2023-07-26T21:42:25.637Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-07-26T21:42:25.637Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-07-26T21:42:25.637Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-07-26T21:42:25.637Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-07-26T21:42:25.905Z] (6/14) Installing udev-init-scripts (35-r1) [2023-07-26T21:42:25.905Z] (7/14) Installing libblkid (2.38.1-r1) [2023-07-26T21:42:25.905Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-07-26T21:42:25.905Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-07-26T21:42:25.905Z] (10/14) Installing kmod-libs (30-r1) [2023-07-26T21:42:25.905Z] (11/14) Installing eudev (3.2.11-r4) [2023-07-26T21:42:25.905Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-07-26T21:42:25.905Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-07-26T21:42:25.905Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-07-26T21:42:25.905Z] Executing busybox-1.35.0-r29.trigger [2023-07-26T21:42:25.905Z] Executing eudev-3.2.11-r4.trigger [2023-07-26T21:42:25.905Z] OK: 271 MiB in 67 packages [2023-07-26T21:42:27.316Z] Removing intermediate container feb124e5bed6 [2023-07-26T21:42:27.316Z] ---> 2ce10de859f2 [2023-07-26T21:42:27.316Z] Step 8/13 : WORKDIR /device-usb-camera [2023-07-26T21:42:27.316Z] ---> Running in bd660e236eaf [2023-07-26T21:42:27.584Z] Removing intermediate container bd660e236eaf [2023-07-26T21:42:27.584Z] ---> 7c9e6671435d [2023-07-26T21:42:27.584Z] Step 9/13 : COPY go.mod vendor* ./ [2023-07-26T21:42:27.853Z] ---> 80e8927af1e2 [2023-07-26T21:42:27.853Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-26T21:42:28.125Z] ---> Running in be1629e1af0d [2023-07-26T21:43:36.005Z] Removing intermediate container be1629e1af0d [2023-07-26T21:43:36.005Z] ---> da4d34381125 [2023-07-26T21:43:36.005Z] Step 11/13 : COPY . . [2023-07-26T21:43:36.005Z] ---> 9e39f2f4ef1f [2023-07-26T21:43:36.005Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-07-26T21:43:36.005Z] ---> Running in 207f14554d5c [2023-07-26T21:43:36.005Z]  % Total % Received % Xferd Average Speed Time  Time Time Current [2023-07-26T21:43:36.005Z]  Dload Upload Total Spent Left Speed [2023-07-26T21:43:36.005Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 4527 0 --:--:-- --:--:-- --:--:-- 4557 [2023-07-26T21:43:36.005Z] Removing intermediate container 207f14554d5c [2023-07-26T21:43:36.005Z] ---> 096f7ce74f30 [2023-07-26T21:43:36.005Z] Step 13/13 : RUN ${MAKE} [2023-07-26T21:43:36.005Z] ---> Running in 15d6a37f386d [2023-07-26T21:43:36.005Z] noop [2023-07-26T21:43:36.005Z] Removing intermediate container 15d6a37f386d [2023-07-26T21:43:36.005Z] ---> 96b36fcedc57 [2023-07-26T21:43:36.005Z] Successfully built 96b36fcedc57 [2023-07-26T21:43:36.005Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T21:43:36.363Z] + docker inspect -f . ci-base-image-arm64 [2023-07-26T21:43:36.363Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-26T21:43:36.566Z] prd-ubuntu20.04-docker-arm64-4c-16g-2286 does not seem to be running inside a container [2023-07-26T21:43:36.623Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/27 -v /w/workspace/device-usb-camera/27:/w/workspace/device-usb-camera/27:rw,z -v /w/workspace/device-usb-camera/27@tmp:/w/workspace/device-usb-camera/27@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 ******** ci-base-image-arm64 cat [2023-07-26T21:43:37.797Z] $ docker top adee0c7f58a5e02549645bdc63a3e2581986cd5134be6189602fad796219cdd3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-26T21:43:38.624Z] + go version [2023-07-26T21:43:38.624Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-07-26T21:43:38.643Z] $ docker stop --time=1 adee0c7f58a5e02549645bdc63a3e2581986cd5134be6189602fad796219cdd3 [2023-07-26T21:43:40.241Z] $ docker rm -f --volumes adee0c7f58a5e02549645bdc63a3e2581986cd5134be6189602fad796219cdd3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T21:43:40.782Z] + docker inspect -f . ci-base-image-arm64 [2023-07-26T21:43:40.782Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-26T21:43:40.955Z] prd-ubuntu20.04-docker-arm64-4c-16g-2286 does not seem to be running inside a container [2023-07-26T21:43:41.017Z] $ 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/27 -v /w/workspace/device-usb-camera/27:/w/workspace/device-usb-camera/27:rw,z -v /w/workspace/device-usb-camera/27@tmp:/w/workspace/device-usb-camera/27@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 ******** ci-base-image-arm64 cat [2023-07-26T21:43:42.179Z] $ docker top c36b97923e85906977cdd1c7c631e041e8302171c85bf0c88697ef6015a9b921 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-26T21:43:42.683Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/27 [Pipeline] fileExists [Pipeline] sh [2023-07-26T21:43:43.024Z] + make test [2023-07-26T21:43:43.025Z] go test ./... -coverprofile=coverage.out ./... [2023-07-26T21:44:15.238Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-07-26T21:46:06.922Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-07-26T21:46:12.291Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.092s coverage: 3.5% of statements [2023-07-26T21:46:12.291Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-07-26T21:46:12.291Z] go vet ./... [2023-07-26T21:46:51.173Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-07-26T21:46:51.173Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-07-26T21:46:51.173Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-07-26T21:46:51.193Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-07-26T21:46:51.210Z] $ docker stop --time=1 c36b97923e85906977cdd1c7c631e041e8302171c85bf0c88697ef6015a9b921 [2023-07-26T21:46:53.154Z] $ docker rm -f --volumes c36b97923e85906977cdd1c7c631e041e8302171c85bf0c88697ef6015a9b921 [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-26T21:46:54.325Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-07-26T21:46:54.347Z] Warning: overwriting stash ‘coverage-report’ [2023-07-26T21:46:54.792Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-26T21:46:55.183Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-07-26T21:46:55.508Z] + ls -al . [2023-07-26T21:46:55.508Z] total 200 [2023-07-26T21:46:55.508Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 26 21:43 . [2023-07-26T21:46:55.508Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 26 21:41 .. [2023-07-26T21:46:55.508Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 26 21:41 .git [2023-07-26T21:46:55.508Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 26 21:41 .github [2023-07-26T21:46:55.508Z] -rw-rw-r-- 1 jenkins jenkins 414 Jul 26 21:41 .gitignore [2023-07-26T21:46:55.508Z] -rw-rw-r-- 1 jenkins jenkins 45 Jul 26 21:41 .golangci.yml [2023-07-26T21:46:55.508Z] -rw-rw-r-- 1 jenkins jenkins 77 Jul 26 21:41 .hadolint.yml [2023-07-26T21:46:55.508Z] -rw-rw-r-- 1 jenkins jenkins 9783 Jul 26 21:41 Attribution.txt [2023-07-26T21:46:55.508Z] -rw-rw-r-- 1 jenkins jenkins 11903 Jul 26 21:41 CHANGELOG.md [2023-07-26T21:46:55.508Z] -rw-rw-r-- 1 jenkins jenkins 2453 Jul 26 21:41 Dockerfile [2023-07-26T21:46:55.508Z] -rw-rw-r-- 1 jenkins jenkins 678 Jul 26 21:41 GOVERNANCE.md [2023-07-26T21:46:55.508Z] -rw-rw-r-- 1 jenkins jenkins 659 Jul 26 21:41 Jenkinsfile [2023-07-26T21:46:55.508Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 26 21:41 LICENSE [2023-07-26T21:46:55.508Z] -rw-rw-r-- 1 jenkins jenkins 2364 Jul 26 21:41 Makefile [2023-07-26T21:46:55.508Z] -rw-rw-r-- 1 jenkins jenkins 622 Jul 26 21:41 OWNERS.md [2023-07-26T21:46:55.508Z] -rw-rw-r-- 1 jenkins jenkins 2575 Jul 26 21:41 README.md [2023-07-26T21:46:55.508Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 26 21:39 VERSION [2023-07-26T21:46:55.508Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 26 21:41 bin [2023-07-26T21:46:55.508Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 26 21:41 cmd [2023-07-26T21:46:55.508Z] -rw-r--r-- 1 jenkins jenkins 43708 Jul 26 21:46 coverage.out [2023-07-26T21:46:55.508Z] -rwxrwxr-x 1 jenkins jenkins 140 Jul 26 21:41 docker-entrypoint.sh [2023-07-26T21:46:55.508Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 26 21:41 docs [2023-07-26T21:46:55.508Z] -rw-rw-r-- 1 jenkins jenkins 3416 Jul 26 21:41 go.mod [2023-07-26T21:46:55.508Z] -rw-rw-r-- 1 jenkins jenkins 31482 Jul 26 21:41 go.sum [2023-07-26T21:46:55.508Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 26 21:41 internal [2023-07-26T21:46:55.508Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 26 21:41 snap [2023-07-26T21:46:55.508Z] -rw-rw-r-- 1 jenkins jenkins 231 Jul 26 21:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T21:46:55.849Z] + 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=17c9c1b229f0135c46f4d448d01a1aa896ad8439 --label arch=arm64 --label version=0.0.0 . [2023-07-26T21:46:56.114Z] Sending build context to Docker daemon 1.279MB [2023-07-26T21:46:56.114Z] Step 1/36 : ARG BASE=golang:1.20-alpine3.17 [2023-07-26T21:46:56.114Z] Step 2/36 : FROM ${BASE} AS builder [2023-07-26T21:46:56.114Z] ---> 96b36fcedc57 [2023-07-26T21:46:56.114Z] Step 3/36 : ARG ADD_BUILD_TAGS="" [2023-07-26T21:46:56.383Z] ---> Running in f90457b0b9fc [2023-07-26T21:46:56.662Z] Removing intermediate container f90457b0b9fc [2023-07-26T21:46:56.662Z] ---> 1f6a43fcaaa7 [2023-07-26T21:46:56.662Z] Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-26T21:46:56.662Z] ---> Running in b913394eac33 [2023-07-26T21:46:56.930Z] Removing intermediate container b913394eac33 [2023-07-26T21:46:56.930Z] ---> b0e6dc6cbb9f [2023-07-26T21:46:56.930Z] Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-07-26T21:46:56.930Z] ---> Running in af5006e39ff9 [2023-07-26T21:46:57.198Z] Removing intermediate container af5006e39ff9 [2023-07-26T21:46:57.198Z] ---> d570d7d58654 [2023-07-26T21:46:57.198Z] Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-07-26T21:46:57.198Z] ---> Running in 58bed4c22ef1 [2023-07-26T21:46:57.465Z] Removing intermediate container 58bed4c22ef1 [2023-07-26T21:46:57.465Z] ---> 725621b695b2 [2023-07-26T21:46:57.465Z] Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-26T21:46:57.734Z] ---> Running in 42309462e968 [2023-07-26T21:46:58.692Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-26T21:46:59.273Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-26T21:47:00.229Z] OK: 271 MiB in 67 packages [2023-07-26T21:47:01.188Z] Removing intermediate container 42309462e968 [2023-07-26T21:47:01.188Z] ---> 74414820fba2 [2023-07-26T21:47:01.188Z] Step 8/36 : WORKDIR /device-usb-camera [2023-07-26T21:47:01.188Z] ---> Running in b7848d0cdc4a [2023-07-26T21:47:01.454Z] Removing intermediate container b7848d0cdc4a [2023-07-26T21:47:01.454Z] ---> 46305e86531e [2023-07-26T21:47:01.454Z] Step 9/36 : COPY go.mod vendor* ./ [2023-07-26T21:47:01.723Z] ---> 1813c6bce88a [2023-07-26T21:47:01.723Z] Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-26T21:47:01.992Z] ---> Running in 9c1c56af9f68 [2023-07-26T21:47:04.568Z] Removing intermediate container 9c1c56af9f68 [2023-07-26T21:47:04.568Z] ---> e0aa7dc43076 [2023-07-26T21:47:04.568Z] Step 11/36 : COPY . . [2023-07-26T21:47:05.151Z] ---> c84cf0747547 [2023-07-26T21:47:05.151Z] Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-07-26T21:47:05.151Z] ---> Running in fc21af75eaf7 [2023-07-26T21:47:06.111Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-26T21:47:06.111Z] Dload Upload Total Spent Left Speed [2023-07-26T21:47:06.378Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 3992 0 --:--:-- --:--:-- --:--:-- 4007 [2023-07-26T21:47:06.966Z] Removing intermediate container fc21af75eaf7 [2023-07-26T21:47:06.966Z] ---> ea594aa6c3cb [2023-07-26T21:47:06.966Z] Step 13/36 : RUN ${MAKE} [2023-07-26T21:47:06.966Z] ---> Running in a2d332d5d441 [2023-07-26T21:47:07.927Z] 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-07-26T21:49:29.612Z] Removing intermediate container a2d332d5d441 [2023-07-26T21:49:29.612Z] ---> 6bc721bf3635 [2023-07-26T21:49:29.612Z] Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-07-26T21:49:29.881Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-07-26T21:49:30.147Z] 8766b47fe142: Pulling fs layer [2023-07-26T21:49:30.731Z] 8766b47fe142: Verifying Checksum [2023-07-26T21:49:30.731Z] 8766b47fe142: Download complete [2023-07-26T21:49:31.310Z] 8766b47fe142: Pull complete [2023-07-26T21:49:31.310Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-07-26T21:49:31.310Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-07-26T21:49:31.310Z] ---> 69d40e2cb93c [2023-07-26T21:49:31.310Z] Step 15/36 : FROM alpine:3.17 [2023-07-26T21:49:31.575Z] 3.17: Pulling from library/alpine [2023-07-26T21:49:31.845Z] edb6bdbacee9: Already exists [2023-07-26T21:49:31.845Z] Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 [2023-07-26T21:49:31.845Z] Status: Downloaded newer image for alpine:3.17 [2023-07-26T21:49:31.845Z] ---> 779605e5fbc0 [2023-07-26T21:49:31.845Z] Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-07-26T21:49:32.113Z] ---> Running in d64127bab816 [2023-07-26T21:49:32.382Z] Removing intermediate container d64127bab816 [2023-07-26T21:49:32.382Z] ---> 1e407cd29a63 [2023-07-26T21:49:32.382Z] Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-07-26T21:49:32.382Z] ---> Running in 5ec8bd031c21 [2023-07-26T21:49:33.341Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-26T21:49:33.921Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-26T21:49:34.878Z] (1/83) Installing dumb-init (1.2.5-r2) [2023-07-26T21:49:34.878Z] (2/83) Installing sdl2 (2.26.5-r0) [2023-07-26T21:49:34.878Z] (3/83) Installing libxau (1.0.10-r0) [2023-07-26T21:49:34.878Z] (4/83) Installing libmd (1.0.4-r0) [2023-07-26T21:49:34.878Z] (5/83) Installing libbsd (0.11.7-r0) [2023-07-26T21:49:34.878Z] (6/83) Installing libxdmcp (1.1.4-r0) [2023-07-26T21:49:34.878Z] (7/83) Installing libxcb (1.15-r0) [2023-07-26T21:49:34.878Z] (8/83) Installing libx11 (1.8.4-r1) [2023-07-26T21:49:35.145Z] (9/83) Installing aom-libs (3.5.0-r0) [2023-07-26T21:49:35.413Z] (10/83) Installing alsa-lib (1.2.8-r0) [2023-07-26T21:49:35.413Z] (11/83) Installing libexpat (2.5.0-r0) [2023-07-26T21:49:35.413Z] (12/83) Installing brotli-libs (1.0.9-r9) [2023-07-26T21:49:35.413Z] (13/83) Installing libbz2 (1.0.8-r4) [2023-07-26T21:49:35.413Z] (14/83) Installing libpng (1.6.38-r0) [2023-07-26T21:49:35.413Z] (15/83) Installing freetype (2.12.1-r0) [2023-07-26T21:49:35.413Z] (16/83) Installing fontconfig (2.14.1-r0) [2023-07-26T21:49:35.413Z] (17/83) Installing fribidi (1.0.12-r0) [2023-07-26T21:49:35.413Z] (18/83) Installing libffi (3.4.4-r0) [2023-07-26T21:49:35.413Z] (19/83) Installing libintl (0.21.1-r1) [2023-07-26T21:49:35.413Z] (20/83) Installing libblkid (2.38.1-r1) [2023-07-26T21:49:35.413Z] (21/83) Installing libmount (2.38.1-r1) [2023-07-26T21:49:35.680Z] (22/83) Installing pcre2 (10.42-r0) [2023-07-26T21:49:35.680Z] (23/83) Installing glib (2.74.7-r0) [2023-07-26T21:49:35.680Z] (24/83) Installing graphite2 (1.3.14-r2) [2023-07-26T21:49:35.680Z] (25/83) Installing harfbuzz (5.3.1-r1) [2023-07-26T21:49:35.680Z] (26/83) Installing libass (0.16.0-r1) [2023-07-26T21:49:35.680Z] (27/83) Installing libdav1d (1.0.0-r2) [2023-07-26T21:49:35.680Z] (28/83) Installing libdrm (2.4.114-r0) [2023-07-26T21:49:35.680Z] (29/83) Installing gmp (6.2.1-r2) [2023-07-26T21:49:35.680Z] (30/83) Installing nettle (3.8.1-r0) [2023-07-26T21:49:35.945Z] (31/83) Installing p11-kit (0.24.1-r1) [2023-07-26T21:49:35.945Z] (32/83) Installing libtasn1 (4.19.0-r0) [2023-07-26T21:49:35.945Z] (33/83) Installing libunistring (1.1-r0) [2023-07-26T21:49:35.945Z] (34/83) Installing gnutls (3.7.8-r3) [2023-07-26T21:49:35.945Z] (35/83) Installing ncurses-terminfo-base (6.3_p20221119-r1) [2023-07-26T21:49:35.945Z] (36/83) Installing ncurses-libs (6.3_p20221119-r1) [2023-07-26T21:49:35.945Z] (37/83) Installing lame (3.100-r2) [2023-07-26T21:49:35.945Z] (38/83) Installing opus (1.3.1-r1) [2023-07-26T21:49:35.945Z] (39/83) Installing libasyncns (0.8-r1) [2023-07-26T21:49:36.211Z] (40/83) Installing dbus-libs (1.14.8-r0) [2023-07-26T21:49:36.211Z] (41/83) Installing libltdl (2.4.7-r1) [2023-07-26T21:49:36.211Z] (42/83) Installing orc (0.4.33-r0) [2023-07-26T21:49:36.211Z] (43/83) Installing libgcc (12.2.1_git20220924-r4) [2023-07-26T21:49:36.211Z] (44/83) Installing libogg (1.3.5-r2) [2023-07-26T21:49:36.211Z] (45/83) Installing libstdc++ (12.2.1_git20220924-r4) [2023-07-26T21:49:36.211Z] (46/83) Installing flac-libs (1.4.2-r0) [2023-07-26T21:49:36.211Z] (47/83) Installing libvorbis (1.3.7-r0) [2023-07-26T21:49:36.211Z] (48/83) Installing libsndfile (1.1.0-r2) [2023-07-26T21:49:36.211Z] (49/83) Installing libgomp (12.2.1_git20220924-r4) [2023-07-26T21:49:36.211Z] (50/83) Installing soxr (0.1.3-r3) [2023-07-26T21:49:36.211Z] (51/83) Installing speexdsp (1.2.1-r0) [2023-07-26T21:49:36.211Z] (52/83) Installing tdb-libs (1.4.6-r0) [2023-07-26T21:49:36.211Z] (53/83) Installing libpulse (16.1-r6) [2023-07-26T21:49:36.477Z] (54/83) Installing cjson (1.7.15-r3) [2023-07-26T21:49:36.477Z] (55/83) Installing mbedtls (2.28.3-r0) [2023-07-26T21:49:36.477Z] (56/83) Installing librist (0.2.7-r0) [2023-07-26T21:49:36.477Z] (57/83) Installing libsrt (1.5.1-r0) [2023-07-26T21:49:36.477Z] (58/83) Installing libssh (0.10.5-r0) [2023-07-26T21:49:36.477Z] (59/83) Installing libtheora (1.1.1-r16) [2023-07-26T21:49:36.477Z] (60/83) Installing libjpeg-turbo (2.1.4-r0) [2023-07-26T21:49:36.477Z] (61/83) Installing v4l-utils-libs (1.22.1-r2) [2023-07-26T21:49:36.477Z] (62/83) Installing libxext (1.3.5-r0) [2023-07-26T21:49:36.477Z] (63/83) Installing libxfixes (6.0.0-r0) [2023-07-26T21:49:36.477Z] (64/83) Installing wayland-libs-client (1.21.0-r1) [2023-07-26T21:49:36.477Z] (65/83) Installing libva (2.16.0-r0) [2023-07-26T21:49:36.477Z] (66/83) Installing libvdpau (1.5-r0) [2023-07-26T21:49:36.477Z] (67/83) Installing vidstab (1.1.0-r2) [2023-07-26T21:49:36.477Z] (68/83) Installing libvpx (1.12.0-r1) [2023-07-26T21:49:36.743Z] (69/83) Installing libwebp (1.2.4-r2) [2023-07-26T21:49:36.743Z] (70/83) Installing x264-libs (0.164_git20220602-r0) [2023-07-26T21:49:36.743Z] (71/83) Installing numactl (2.0.16-r1) [2023-07-26T21:49:36.743Z] (72/83) Installing x265-libs (3.5-r3) [2023-07-26T21:49:36.743Z] (73/83) Installing xvidcore (1.3.7-r1) [2023-07-26T21:49:36.743Z] (74/83) Installing libsodium (1.0.18-r2) [2023-07-26T21:49:36.743Z] (75/83) Installing libzmq (4.3.4-r1) [2023-07-26T21:49:37.009Z] (76/83) Installing ffmpeg-libs (5.1.3-r0) [2023-07-26T21:49:37.275Z] (77/83) Installing ffmpeg (5.1.3-r0) [2023-07-26T21:49:37.275Z] (78/83) Installing udev-init-scripts (35-r1) [2023-07-26T21:49:37.275Z] (79/83) Installing eudev-libs (3.2.11-r4) [2023-07-26T21:49:37.275Z] (80/83) Installing xz-libs (5.2.9-r0) [2023-07-26T21:49:37.275Z] (81/83) Installing zstd-libs (1.5.5-r0) [2023-07-26T21:49:37.275Z] (82/83) Installing kmod-libs (30-r1) [2023-07-26T21:49:37.275Z] (83/83) Installing eudev (3.2.11-r4) [2023-07-26T21:49:37.599Z] Executing busybox-1.35.0-r29.trigger [2023-07-26T21:49:37.599Z] Executing eudev-3.2.11-r4.trigger [2023-07-26T21:49:37.599Z] OK: 86 MiB in 98 packages [2023-07-26T21:49:41.018Z] Removing intermediate container 5ec8bd031c21 [2023-07-26T21:49:41.018Z] ---> 0ef3c26a4c3d [2023-07-26T21:49:41.018Z] Step 18/36 : WORKDIR / [2023-07-26T21:49:41.018Z] ---> Running in ceaeed387079 [2023-07-26T21:49:41.018Z] Removing intermediate container ceaeed387079 [2023-07-26T21:49:41.018Z] ---> 298c77b90bed [2023-07-26T21:49:41.018Z] Step 19/36 : COPY --from=builder /device-usb-camera/cmd / [2023-07-26T21:49:42.430Z] ---> 9f739680dbdd [2023-07-26T21:49:42.430Z] Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / [2023-07-26T21:49:43.014Z] ---> 7a2247208572 [2023-07-26T21:49:43.014Z] Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-07-26T21:49:43.281Z] ---> 58cb7cd9a335 [2023-07-26T21:49:43.281Z] Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-07-26T21:49:43.866Z] ---> cbed9b3d1ace [2023-07-26T21:49:43.866Z] Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-07-26T21:49:44.451Z] ---> dd7a001254cd [2023-07-26T21:49:44.451Z] Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-07-26T21:49:44.717Z] ---> de009fd37ecb [2023-07-26T21:49:44.717Z] Step 25/36 : COPY --from=rtsp /rtsp-simple-server / [2023-07-26T21:49:46.127Z] ---> 72ded5ff53c4 [2023-07-26T21:49:46.127Z] Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-07-26T21:49:46.127Z] ---> Running in f9c7003b82e2 [2023-07-26T21:49:49.472Z] Removing intermediate container f9c7003b82e2 [2023-07-26T21:49:49.472Z] ---> ed9330639402 [2023-07-26T21:49:49.472Z] Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-07-26T21:49:49.472Z] ---> Running in 0d29b7b00c61 [2023-07-26T21:49:50.431Z] Removing intermediate container 0d29b7b00c61 [2023-07-26T21:49:50.431Z] ---> c31a763fbf03 [2023-07-26T21:49:50.431Z] Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-07-26T21:49:50.704Z] ---> Running in 65f25311a93f [2023-07-26T21:49:52.115Z] Removing intermediate container 65f25311a93f [2023-07-26T21:49:52.115Z] ---> bbd656f93fb6 [2023-07-26T21:49:52.115Z] Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml [2023-07-26T21:49:52.115Z] ---> Running in ec1ae4b1ebf3 [2023-07-26T21:49:54.060Z] Removing intermediate container ec1ae4b1ebf3 [2023-07-26T21:49:54.060Z] ---> 3dda0bef233a [2023-07-26T21:49:54.060Z] Step 30/36 : EXPOSE 59983 [2023-07-26T21:49:54.060Z] ---> Running in f551d4796b7b [2023-07-26T21:49:54.060Z] Removing intermediate container f551d4796b7b [2023-07-26T21:49:54.060Z] ---> c039079082c4 [2023-07-26T21:49:54.060Z] Step 31/36 : EXPOSE 8554 [2023-07-26T21:49:54.060Z] ---> Running in b4c42e045091 [2023-07-26T21:49:54.326Z] Removing intermediate container b4c42e045091 [2023-07-26T21:49:54.327Z] ---> 9f99ade61210 [2023-07-26T21:49:54.327Z] Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-07-26T21:49:54.327Z] ---> Running in 230bd2bf75b6 [2023-07-26T21:49:54.593Z] Removing intermediate container 230bd2bf75b6 [2023-07-26T21:49:54.593Z] ---> 4f48d113f1b4 [2023-07-26T21:49:54.593Z] Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-07-26T21:49:54.861Z] ---> Running in 1dac90269dbe [2023-07-26T21:49:55.129Z] Removing intermediate container 1dac90269dbe [2023-07-26T21:49:55.129Z] ---> e42b74ed741c [2023-07-26T21:49:55.129Z] Step 34/36 : LABEL arch=arm64 [2023-07-26T21:49:55.129Z] ---> Running in 99f4e12864b9 [2023-07-26T21:49:55.396Z] Removing intermediate container 99f4e12864b9 [2023-07-26T21:49:55.396Z] ---> a887af3b2102 [2023-07-26T21:49:55.396Z] Step 35/36 : LABEL git_sha=17c9c1b229f0135c46f4d448d01a1aa896ad8439 [2023-07-26T21:49:55.396Z] ---> Running in 81fdd2e8f0f1 [2023-07-26T21:49:55.662Z] Removing intermediate container 81fdd2e8f0f1 [2023-07-26T21:49:55.662Z] ---> 1e14e93dace2 [2023-07-26T21:49:55.662Z] Step 36/36 : LABEL version=0.0.0 [2023-07-26T21:49:55.662Z] ---> Running in 9e971086f3c9 [2023-07-26T21:49:55.928Z] Removing intermediate container 9e971086f3c9 [2023-07-26T21:49:55.928Z] ---> acc1a96c56c5 [2023-07-26T21:49:55.928Z] [Warning] One or more build-args [ARCH] were not consumed [2023-07-26T21:49:55.928Z] Successfully built acc1a96c56c5 [2023-07-26T21:49:55.928Z] 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-07-26T21:49:56.641Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-26T21:49:56.641Z] [2023-07-26T21:49:56.641Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T21:49:56.966Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-26T21:49:57.232Z] arm64: Pulling from edgex-lftools-log-publisher [2023-07-26T21:49:57.232Z] 8998bd30e6a1: Pulling fs layer [2023-07-26T21:49:57.232Z] 04944245beec: Pulling fs layer [2023-07-26T21:49:57.232Z] 699f458cf7ca: Pulling fs layer [2023-07-26T21:49:57.232Z] 765212b225bb: Pulling fs layer [2023-07-26T21:49:57.232Z] f23df028b6ca: Pulling fs layer [2023-07-26T21:49:57.232Z] d65c8cfc05b1: Pulling fs layer [2023-07-26T21:49:57.233Z] 2437ff75d9bd: Pulling fs layer [2023-07-26T21:49:57.233Z] 765212b225bb: Waiting [2023-07-26T21:49:57.233Z] f23df028b6ca: Waiting [2023-07-26T21:49:57.233Z] d65c8cfc05b1: Waiting [2023-07-26T21:49:57.233Z] 2437ff75d9bd: Waiting [2023-07-26T21:49:57.233Z] 04944245beec: Verifying Checksum [2023-07-26T21:49:57.233Z] 04944245beec: Download complete [2023-07-26T21:49:57.233Z] 765212b225bb: Verifying Checksum [2023-07-26T21:49:57.233Z] 765212b225bb: Download complete [2023-07-26T21:49:57.233Z] f23df028b6ca: Download complete [2023-07-26T21:49:57.233Z] d65c8cfc05b1: Verifying Checksum [2023-07-26T21:49:57.233Z] d65c8cfc05b1: Download complete [2023-07-26T21:49:57.498Z] 699f458cf7ca: Verifying Checksum [2023-07-26T21:49:57.498Z] 699f458cf7ca: Download complete [2023-07-26T21:49:57.763Z] 8998bd30e6a1: Verifying Checksum [2023-07-26T21:49:57.763Z] 8998bd30e6a1: Download complete [2023-07-26T21:50:00.351Z] 2437ff75d9bd: Verifying Checksum [2023-07-26T21:50:00.351Z] 2437ff75d9bd: Download complete [2023-07-26T21:50:01.755Z] 8998bd30e6a1: Pull complete [2023-07-26T21:50:03.161Z] 04944245beec: Pull complete [2023-07-26T21:50:04.578Z] 699f458cf7ca: Pull complete [2023-07-26T21:50:04.578Z] 765212b225bb: Pull complete [2023-07-26T21:50:05.549Z] f23df028b6ca: Pull complete [2023-07-26T21:50:05.549Z] d65c8cfc05b1: Pull complete [2023-07-26T21:50:20.518Z] 2437ff75d9bd: Pull complete [2023-07-26T21:50:20.518Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-07-26T21:50:20.518Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-26T21:50:20.518Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-26T21:50:20.700Z] prd-ubuntu20.04-docker-arm64-4c-16g-2286 does not seem to be running inside a container [2023-07-26T21:50:20.760Z] $ 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/27 -v /w/workspace/device-usb-camera/27:/w/workspace/device-usb-camera/27:rw,z -v /w/workspace/device-usb-camera/27@tmp:/w/workspace/device-usb-camera/27@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:arm64 cat [2023-07-26T21:50:23.098Z] $ docker top 021eb52709cfbf978cf9b4f3c74dc8ddd651982132005f784ded1aba982cd50d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-26T21:50:23.615Z] ---> job-cost.sh [2023-07-26T21:50:23.879Z] lf-activate-venv: SKIPPING [2023-07-26T21:50:23.879Z] INFO: No Stack... [2023-07-26T21:50:24.146Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-07-26T21:50:25.101Z] INFO: Archiving Costs [Pipeline] sh [2023-07-26T21:50:25.418Z] + cat /w/workspace/device-usb-camera/27/archives/cost.csv [2023-07-26T21:50:25.419Z] + cut -d, -f6 [Pipeline] lock [2023-07-26T21:50:25.476Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-265-27-stack-cost] [2023-07-26T21:50:25.482Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-265-27-stack-cost] did not exist. Created. [2023-07-26T21:50:25.482Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-265-27-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-26T21:50:25.817Z] /w/workspace/device-usb-camera/27@tmp/durable-70a604da/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-07-26T21:50:26.153Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-07-26T21:50:26.174Z] Warning: overwriting stash ‘stack-cost’ [2023-07-26T21:50:26.226Z] Stashed 1 file(s) [Pipeline] } [2023-07-26T21:50:26.232Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-265-27-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-26T21:50:26.251Z] $ docker stop --time=1 021eb52709cfbf978cf9b4f3c74dc8ddd651982132005f784ded1aba982cd50d [2023-07-26T21:50:27.726Z] $ docker rm -f --volumes 021eb52709cfbf978cf9b4f3c74dc8ddd651982132005f784ded1aba982cd50d [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-07-26T21:50:28.100Z] provisioning config files... [2023-07-26T21:50:28.107Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-265@tmp/config9526775787579882909tmp [Pipeline] { [Pipeline] sh [2023-07-26T21:50:28.396Z] + set +x [2023-07-26T21:50:28.396Z] + curl -s https://codecov.io/bash [2023-07-26T21:50:28.396Z] + bash -s -- [2023-07-26T21:50:28.396Z] [2023-07-26T21:50:28.396Z] _____ _ [2023-07-26T21:50:28.396Z] / ____| | | [2023-07-26T21:50:28.396Z] | | ___ __| | ___ ___ _____ __ [2023-07-26T21:50:28.396Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-07-26T21:50:28.396Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-07-26T21:50:28.396Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-07-26T21:50:28.396Z] Bash-1.0.6 [2023-07-26T21:50:28.396Z] [2023-07-26T21:50:28.396Z] [2023-07-26T21:50:28.396Z] ==> git version 2.25.1 found [2023-07-26T21:50:28.396Z] ==> 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-07-26T21:50:28.396Z] Release-Date: 2020-01-08 [2023-07-26T21:50:28.396Z] 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-07-26T21:50:28.396Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-07-26T21:50:28.396Z] ==> Jenkins CI detected. [2023-07-26T21:50:28.396Z] current dir:  /w/workspace/foundry_device-usb-camera_PR-265 [2023-07-26T21:50:28.396Z] project root: . [2023-07-26T21:50:28.396Z] --> token set from env [2023-07-26T21:50:28.396Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-07-26T21:50:28.396Z] ==> Running gcov in . (disable via -X gcov) [2023-07-26T21:50:28.396Z] ==> Python coveragepy not found [2023-07-26T21:50:28.396Z] ==> Searching for coverage reports in: [2023-07-26T21:50:28.396Z] + . [2023-07-26T21:50:28.396Z] -> Found 1 reports [2023-07-26T21:50:28.396Z] ==> Detecting git/mercurial file structure [2023-07-26T21:50:28.396Z] ==> Reading reports [2023-07-26T21:50:28.396Z] + ./coverage.out bytes=43708 [2023-07-26T21:50:28.658Z] ==> Appending adjustments [2023-07-26T21:50:28.658Z] https://docs.codecov.io/docs/fixing-reports [2023-07-26T21:50:28.658Z] + Found adjustments [2023-07-26T21:50:28.658Z] ==> Gzipping contents [2023-07-26T21:50:28.658Z] 8.0K /tmp/codecov.Kl2XJ2.gz [2023-07-26T21:50:28.658Z] ==> Uploading reports [2023-07-26T21:50:28.658Z] url: https://codecov.io [2023-07-26T21:50:28.658Z] query: branch=PR-265&commit=17c9c1b229f0135c46f4d448d01a1aa896ad8439&build=27&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-265%2F27%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=265&job=&cmd_args= [2023-07-26T21:50:28.658Z] -> Pinging Codecov [2023-07-26T21:50:28.658Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-265&commit=17c9c1b229f0135c46f4d448d01a1aa896ad8439&build=27&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-265%2F27%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=265&job=&cmd_args= [2023-07-26T21:50:28.917Z] -> Uploading to [2023-07-26T21:50:28.917Z] https://storage.googleapis.com/codecov/v4/raw/2023-07-26/73D8F5FF140700D3E01443B452E23636/17c9c1b229f0135c46f4d448d01a1aa896ad8439/a7a45e8f-e853-4337-b55b-421b48d42987.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230726%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230726T215028Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5b44ef558587253cc6a2d957f81c91cffa65ed39aef1b5d1e0339918ac7f1228 [2023-07-26T21:50:28.917Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-26T21:50:28.917Z] Dload Upload Total Spent Left Speed [2023-07-26T21:50:28.917Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5786 0 0 100 5786 0 27164 --:--:-- --:--:-- --:--:-- 27164 [2023-07-26T21:50:28.917Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/17c9c1b229f0135c46f4d448d01a1aa896ad8439 [Pipeline] } [2023-07-26T21:50:28.923Z] 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-07-26T21:50:29.657Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-265/archives ] [2023-07-26T21:50:29.657Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-265/archives [2023-07-26T21:50:29.657Z] total 16 [2023-07-26T21:50:29.657Z] drwxr-xr-x 3 root root 4096 Jul 26 21:41 . [2023-07-26T21:50:29.657Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 26 21:41 .. [2023-07-26T21:50:29.657Z] drwxr-xr-x 2 root root 4096 Jul 26 21:41 cost [2023-07-26T21:50:29.657Z] -rw-r--r-- 1 root root 90 Jul 26 21:41 cost.csv [2023-07-26T21:50:29.657Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-265/archives [2023-07-26T21:50:29.657Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-265/archives [2023-07-26T21:50:29.657Z] total 16 [2023-07-26T21:50:29.657Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 26 21:41 . [2023-07-26T21:50:29.657Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 26 21:41 .. [2023-07-26T21:50:29.657Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 26 21:41 cost [2023-07-26T21:50:29.657Z] -rw-r--r-- 1 jenkins jenkins 90 Jul 26 21:41 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-07-26T21:50:29.943Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-26T21:50:30.799Z] ---> package-listing.sh [2023-07-26T21:50:30.799Z] ++ facter osfamily [2023-07-26T21:50:30.799Z] ++ tr '[:upper:]' '[:lower:]' [2023-07-26T21:50:31.058Z] + OS_FAMILY=debian [2023-07-26T21:50:31.058Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-265 [2023-07-26T21:50:31.058Z] + START_PACKAGES=/tmp/packages_start.txt [2023-07-26T21:50:31.058Z] + END_PACKAGES=/tmp/packages_end.txt [2023-07-26T21:50:31.058Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-07-26T21:50:31.058Z] + PACKAGES=/tmp/packages_start.txt [2023-07-26T21:50:31.058Z] + '[' /w/workspace/foundry_device-usb-camera_PR-265 ']' [2023-07-26T21:50:31.058Z] + PACKAGES=/tmp/packages_end.txt [2023-07-26T21:50:31.058Z] + case "${OS_FAMILY}" in [2023-07-26T21:50:31.058Z] + dpkg -l [2023-07-26T21:50:31.058Z] + grep '^ii' [2023-07-26T21:50:31.058Z] + '[' -f /tmp/packages_start.txt ']' [2023-07-26T21:50:31.058Z] + '[' -f /tmp/packages_end.txt ']' [2023-07-26T21:50:31.058Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-07-26T21:50:31.058Z] + '[' /w/workspace/foundry_device-usb-camera_PR-265 ']' [2023-07-26T21:50:31.058Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-265/archives/ [2023-07-26T21:50:31.058Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-265/archives/ [Pipeline] echo [2023-07-26T21:50:31.067Z] 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-265/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-07-26T21:50:31.341Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T21:50:31.897Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-26T21:50:31.897Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-26T21:50:31.955Z] prd-ubuntu20.04-docker-8c-8g-2285 does not seem to be running inside a container [2023-07-26T21:50:31.980Z] $ 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-265/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-265 -v /w/workspace/foundry_device-usb-camera_PR-265:/w/workspace/foundry_device-usb-camera_PR-265:rw,z -v /w/workspace/foundry_device-usb-camera_PR-265@tmp:/w/workspace/foundry_device-usb-camera_PR-265@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-07-26T21:50:32.218Z] $ docker top 572740cc47039b0e66f0edbf857f2d30b641a7ebf8cbe2ee5c6b493c515e4b18 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-26T21:50:32.557Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-07-26T21:50:32.843Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-07-26T21:50:33.125Z] + ls /var/log/sa-host [2023-07-26T21:50:33.125Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-26T21:50:33.185Z] provisioning config files... [2023-07-26T21:50:33.193Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-265@tmp/config9079210974941277218tmp [Pipeline] { [Pipeline] echo [2023-07-26T21:50:33.209Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-26T21:50:33.489Z] ---> create-netrc.sh [Pipeline] } [2023-07-26T21:50:33.497Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-07-26T21:50:33.831Z] ---> python-tools-install.sh [Pipeline] echo [2023-07-26T21:50:33.840Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-26T21:50:34.132Z] ---> sudo-logs.sh [2023-07-26T21:50:34.132Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-07-26T21:50:34.162Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-26T21:50:34.447Z] ---> job-cost.sh [2023-07-26T21:50:34.447Z] lf-activate-venv: SKIPPING [2023-07-26T21:50:34.447Z] DEBUG: total: 0.2199999988079071 [2023-07-26T21:50:34.447Z] INFO: Retrieving Stack Cost... [2023-07-26T21:50:34.707Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-26T21:50:35.274Z] INFO: Archiving Costs [Pipeline] echo [2023-07-26T21:50:35.286Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-26T21:50:35.568Z] ---> logs-deploy.sh [2023-07-26T21:50:35.568Z] lf-activate-venv: SKIPPING [2023-07-26T21:50:35.568Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-265/27 [2023-07-26T21:50:35.568Z] INFO: archiving workspace using pattern(s): [2023-07-26T21:50:36.503Z] Archives upload complete. [2023-07-26T21:50:36.503Z] INFO: archiving logs to Nexus