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 1b29e38c626a799305ce08a5f8c743eb178f94a4 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-ssh15084688309349829863.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-ssh5703367433991826488.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-ssh5006210879535413205.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-ssh13037443567159327184.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-ssh7458993698866109170.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-2268 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 1b29e38c626a799305ce08a5f8c743eb178f94a4 Merge succeeded, producing 1b29e38c626a799305ce08a5f8c743eb178f94a4 Checking out Revision 1b29e38c626a799305ce08a5f8c743eb178f94a4 (PR-265) Commit message: "feat: modified some comments and error messages in deriver.go" > git config core.sparsecheckout # timeout=10 > git checkout -f 1b29e38c626a799305ce08a5f8c743eb178f94a4 # 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 1b29e38c626a799305ce08a5f8c743eb178f94a4 # timeout=10 > git rev-list --no-walk e31c184880e28ce35984d0bb1e2272798b9047e0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-07-26T19:17:00.991Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-07-26T19:17:01.053Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-07-26T19:17:01.077Z] ========================================================= [2023-07-26T19:17:01.077Z] EdgeX Global Pipelines Version Info [2023-07-26T19:17:01.077Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-07-26T19:17:01.790Z] ------------------- [2023-07-26T19:17:01.790Z] stable info: [2023-07-26T19:17:01.790Z] ------------------- [2023-07-26T19:17:01.790Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-07-26T19:17:01.790Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-26T19:17:01.790Z] Message: update stable to v1.0.250 [2023-07-26T19:17:02.359Z] ------------------- [2023-07-26T19:17:02.359Z] experimental info: [2023-07-26T19:17:02.359Z] ------------------- [2023-07-26T19:17:02.359Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-07-26T19:17:02.359Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-26T19:17:02.359Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-07-26T19:17:02.525Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2023-07-26T19:17:02.541Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2023-07-26T19:17:02.556Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-07-26T19:17:02.568Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-07-26T19:17:02.585Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-07-26T19:17:02.597Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-07-26T19:17:02.612Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-07-26T19:17:02.629Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-07-26T19:17:02.640Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-07-26T19:17:02.653Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-07-26T19:17:02.665Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-07-26T19:17:02.680Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2023-07-26T19:17:02.699Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-07-26T19:17:02.709Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-07-26T19:17:02.726Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-07-26T19:17:02.745Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-07-26T19:17:02.763Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-07-26T19:17:02.787Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-07-26T19:17:02.802Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-07-26T19:17:02.815Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-07-26T19:17:02.827Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-07-26T19:17:02.840Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-07-26T19:17:02.857Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-07-26T19:17:02.874Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-07-26T19:17:02.891Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-07-26T19:17:02.909Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-07-26T19:17:02.922Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-07-26T19:17:02.933Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-265 [Pipeline] echo [2023-07-26T19:17:02.946Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-265 [Pipeline] echo [2023-07-26T19:17:02.965Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-265 [Pipeline] echo [2023-07-26T19:17:02.983Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1b29e38c626a799305ce08a5f8c743eb178f94a4 [Pipeline] echo [2023-07-26T19:17:02.993Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1b29e38 [Pipeline] echo [2023-07-26T19:17:03.008Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-26T19:17:03.050Z] provisioning config files... [2023-07-26T19:17:03.065Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-265@tmp/config14918766511362423638tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-26T19:17:03.362Z] ---> docker-login.sh [2023-07-26T19:17:03.362Z] nexus3.edgexfoundry.org:10001 [2023-07-26T19:17:03.622Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T19:17:03.622Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T19:17:03.622Z] Configure a credential helper to remove this warning. See [2023-07-26T19:17:03.622Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T19:17:03.622Z] [2023-07-26T19:17:03.622Z] Login Succeeded [2023-07-26T19:17:03.622Z] nexus3.edgexfoundry.org:10002 [2023-07-26T19:17:03.622Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T19:17:03.622Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T19:17:03.622Z] Configure a credential helper to remove this warning. See [2023-07-26T19:17:03.622Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T19:17:03.622Z] [2023-07-26T19:17:03.622Z] Login Succeeded [2023-07-26T19:17:03.622Z] nexus3.edgexfoundry.org:10003 [2023-07-26T19:17:03.882Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T19:17:03.882Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T19:17:03.882Z] Configure a credential helper to remove this warning. See [2023-07-26T19:17:03.882Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T19:17:03.882Z] [2023-07-26T19:17:03.882Z] Login Succeeded [2023-07-26T19:17:03.882Z] nexus3.edgexfoundry.org:10004 [2023-07-26T19:17:03.882Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T19:17:03.882Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T19:17:03.882Z] Configure a credential helper to remove this warning. See [2023-07-26T19:17:03.882Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T19:17:03.882Z] [2023-07-26T19:17:03.882Z] Login Succeeded [2023-07-26T19:17:03.882Z] docker.io [2023-07-26T19:17:04.142Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T19:17:04.142Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T19:17:04.142Z] Configure a credential helper to remove this warning. See [2023-07-26T19:17:04.142Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T19:17:04.142Z] [2023-07-26T19:17:04.142Z] Login Succeeded [2023-07-26T19:17:04.142Z] ---> docker-login.sh ends [Pipeline] } [2023-07-26T19:17:04.150Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-07-26T19:17:04.529Z] + git rev-list -1 --merges 1b29e38c626a799305ce08a5f8c743eb178f94a4~1..1b29e38c626a799305ce08a5f8c743eb178f94a4 [Pipeline] echo [2023-07-26T19:17:04.577Z] -----------> git rev-list -1 --merges 1b29e38c626a799305ce08a5f8c743eb178f94a4~1..1b29e38c626a799305ce08a5f8c743eb178f94a4 1b29e38c626a799305ce08a5f8c743eb178f94a4 [false] [Pipeline] sh [2023-07-26T19:17:04.868Z] + git log --format=format:%s -1 1b29e38c626a799305ce08a5f8c743eb178f94a4 [Pipeline] echo [2023-07-26T19:17:04.884Z] ========================================================= [2023-07-26T19:17:04.884Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-07-26T19:17:04.884Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-26T19:17:05.224Z] + git log --format=format:%s -1 1b29e38c626a799305ce08a5f8c743eb178f94a4 [Pipeline] echo [2023-07-26T19:17:05.234Z] [semverPrep] GIT_COMMIT: 1b29e38c626a799305ce08a5f8c743eb178f94a4, Commit Message: feat: modified some comments and error messages in deriver.go [Pipeline] echo [2023-07-26T19:17:05.243Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-07-26T19:17:05.593Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-26T19:17:05.593Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-07-26T19:17:05.593Z] + [ -e /tmp/ssh_known_hosts ] [2023-07-26T19:17:05.593Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-07-26T19:17:05.593Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-07-26T19:17:05.593Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-07-26T19:17:05.593Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T19:17:05.939Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-26T19:17:05.939Z] [2023-07-26T19:17:05.939Z] 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-26T19:17:06.237Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-26T19:17:06.237Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-07-26T19:17:06.237Z] b85a868b505f: Pulling fs layer [2023-07-26T19:17:06.237Z] e2be974225ed: Pulling fs layer [2023-07-26T19:17:06.237Z] 339a4e72a1f5: Pulling fs layer [2023-07-26T19:17:06.237Z] 988bab9f4d93: Pulling fs layer [2023-07-26T19:17:06.237Z] 1469e6f7b9e6: Pulling fs layer [2023-07-26T19:17:06.237Z] eaf3925da568: Pulling fs layer [2023-07-26T19:17:06.237Z] bab4dde63d76: Pulling fs layer [2023-07-26T19:17:06.237Z] bde34c3a00c8: Pulling fs layer [2023-07-26T19:17:06.237Z] b352a97aabf1: Pulling fs layer [2023-07-26T19:17:06.237Z] 4872d77fe225: Pulling fs layer [2023-07-26T19:17:06.237Z] 5851b861e8e6: Pulling fs layer [2023-07-26T19:17:06.237Z] 988bab9f4d93: Waiting [2023-07-26T19:17:06.237Z] b352a97aabf1: Waiting [2023-07-26T19:17:06.237Z] 1469e6f7b9e6: Waiting [2023-07-26T19:17:06.237Z] eaf3925da568: Waiting [2023-07-26T19:17:06.237Z] 4872d77fe225: Waiting [2023-07-26T19:17:06.237Z] bab4dde63d76: Waiting [2023-07-26T19:17:06.237Z] 5851b861e8e6: Waiting [2023-07-26T19:17:06.237Z] bde34c3a00c8: Waiting [2023-07-26T19:17:06.237Z] e2be974225ed: Download complete [2023-07-26T19:17:06.237Z] 988bab9f4d93: Verifying Checksum [2023-07-26T19:17:06.237Z] 988bab9f4d93: Download complete [2023-07-26T19:17:06.237Z] 1469e6f7b9e6: Verifying Checksum [2023-07-26T19:17:06.237Z] 1469e6f7b9e6: Download complete [2023-07-26T19:17:06.237Z] eaf3925da568: Verifying Checksum [2023-07-26T19:17:06.237Z] eaf3925da568: Download complete [2023-07-26T19:17:06.497Z] 339a4e72a1f5: Verifying Checksum [2023-07-26T19:17:06.497Z] 339a4e72a1f5: Download complete [2023-07-26T19:17:06.497Z] bde34c3a00c8: Verifying Checksum [2023-07-26T19:17:06.497Z] bde34c3a00c8: Download complete [2023-07-26T19:17:06.497Z] b352a97aabf1: Verifying Checksum [2023-07-26T19:17:06.497Z] b352a97aabf1: Download complete [2023-07-26T19:17:06.497Z] 4872d77fe225: Verifying Checksum [2023-07-26T19:17:06.497Z] 4872d77fe225: Download complete [2023-07-26T19:17:06.497Z] 5851b861e8e6: Download complete [2023-07-26T19:17:06.497Z] b85a868b505f: Verifying Checksum [2023-07-26T19:17:06.497Z] b85a868b505f: Download complete [2023-07-26T19:17:06.757Z] bab4dde63d76: Verifying Checksum [2023-07-26T19:17:06.757Z] bab4dde63d76: Download complete [2023-07-26T19:17:07.694Z] b85a868b505f: Pull complete [2023-07-26T19:17:07.694Z] e2be974225ed: Pull complete [2023-07-26T19:17:08.262Z] 339a4e72a1f5: Pull complete [2023-07-26T19:17:08.262Z] 988bab9f4d93: Pull complete [2023-07-26T19:17:08.520Z] 1469e6f7b9e6: Pull complete [2023-07-26T19:17:08.520Z] eaf3925da568: Pull complete [2023-07-26T19:17:10.428Z] bab4dde63d76: Pull complete [2023-07-26T19:17:10.428Z] bde34c3a00c8: Pull complete [2023-07-26T19:17:10.428Z] b352a97aabf1: Pull complete [2023-07-26T19:17:10.428Z] 4872d77fe225: Pull complete [2023-07-26T19:17:10.428Z] 5851b861e8e6: Pull complete [2023-07-26T19:17:10.428Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-07-26T19:17:10.428Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-26T19:17:10.428Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-26T19:17:10.520Z] prd-ubuntu20.04-docker-8c-8g-2268 does not seem to be running inside a container [2023-07-26T19:17:10.533Z] $ 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-26T19:17:13.495Z] $ docker top 5de81d806e9816ebaa12d9552aae7487173c0655eda8e9a2c9fa4ffbbf102852 -eo pid,comm [2023-07-26T19:17:13.559Z] 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-26T19:17:13.559Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-26T19:17:13.597Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-26T19:17:13.597Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-26T19:17:13.705Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-26T19:17:13.692Z] $ docker exec 5de81d806e9816ebaa12d9552aae7487173c0655eda8e9a2c9fa4ffbbf102852 ssh-agent [2023-07-26T19:17:13.816Z] SSH_AUTH_SOCK=/tmp/ssh-EhJHAdHm95lu/agent.32 [2023-07-26T19:17:13.816Z] SSH_AGENT_PID=38 [2023-07-26T19:17:13.822Z] Running ssh-add (command line suppressed) [2023-07-26T19:17:13.913Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-265@tmp/private_key_1111433088161876801.key (/w/workspace/foundry_device-usb-camera_PR-265@tmp/private_key_1111433088161876801.key) [2023-07-26T19:17:13.948Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-26T19:17:14.240Z] + git tag --points-at HEAD [Pipeline] } [2023-07-26T19:17:14.236Z] $ docker exec --env ******** --env ******** 5de81d806e9816ebaa12d9552aae7487173c0655eda8e9a2c9fa4ffbbf102852 ssh-agent -k [2023-07-26T19:17:14.331Z] unset SSH_AUTH_SOCK; [2023-07-26T19:17:14.331Z] unset SSH_AGENT_PID; [2023-07-26T19:17:14.331Z] echo Agent pid 38 killed; [2023-07-26T19:17:14.355Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-07-26T19:17:14.375Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-26T19:17:14.375Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-26T19:17:14.476Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-26T19:17:14.463Z] $ docker exec 5de81d806e9816ebaa12d9552aae7487173c0655eda8e9a2c9fa4ffbbf102852 ssh-agent [2023-07-26T19:17:14.578Z] SSH_AUTH_SOCK=/tmp/ssh-XXEOFGLmuzZS/agent.70 [2023-07-26T19:17:14.578Z] SSH_AGENT_PID=77 [2023-07-26T19:17:14.583Z] Running ssh-add (command line suppressed) [2023-07-26T19:17:14.662Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-265@tmp/private_key_6977434114420789334.key (/w/workspace/foundry_device-usb-camera_PR-265@tmp/private_key_6977434114420789334.key) [2023-07-26T19:17:14.690Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-26T19:17:14.977Z] + git semver init [2023-07-26T19:17:15.236Z] 2023-07-26 19:17:15,121 [run_init] DEBUG init version:0.0.0 force:False [2023-07-26T19:17:15.236Z] 2023-07-26 19:17:15,122 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-265/.semver [2023-07-26T19:17:15.236Z] 2023-07-26 19:17:15,122 [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-26T19:17:15.236Z] 2023-07-26 19:17:15,123 [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-26T19:17:16.174Z] 2023-07-26 19:17:15,880 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-265/.git/info/exclude [2023-07-26T19:17:16.174Z] 2023-07-26 19:17:15,881 [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-26T19:17:16.174Z] 2023-07-26 19:17:15,881 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-265/.semver/PR-265 [2023-07-26T19:17:16.174Z] 2023-07-26 19:17:15,885 [execute] INFO git cat-file --batch-check [2023-07-26T19:17:16.174Z] 2023-07-26 19:17:15,886 [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-26T19:17:16.174Z] 2023-07-26 19:17:15,892 [execute] INFO git cat-file --batch [2023-07-26T19:17:16.174Z] 2023-07-26 19:17:15,892 [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-26T19:17:16.174Z] 2023-07-26 19:17:15,897 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-265/.semver/PR-265 [2023-07-26T19:17:16.174Z] 0.0.0 [Pipeline] } [2023-07-26T19:17:16.170Z] $ docker exec --env ******** --env ******** 5de81d806e9816ebaa12d9552aae7487173c0655eda8e9a2c9fa4ffbbf102852 ssh-agent -k [2023-07-26T19:17:16.272Z] unset SSH_AUTH_SOCK; [2023-07-26T19:17:16.272Z] unset SSH_AGENT_PID; [2023-07-26T19:17:16.272Z] echo Agent pid 77 killed; [2023-07-26T19:17:16.295Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-26T19:17:16.595Z] + git semver [Pipeline] } [2023-07-26T19:17:16.854Z] $ docker stop --time=1 5de81d806e9816ebaa12d9552aae7487173c0655eda8e9a2c9fa4ffbbf102852 [2023-07-26T19:17:18.156Z] $ docker rm -f --volumes 5de81d806e9816ebaa12d9552aae7487173c0655eda8e9a2c9fa4ffbbf102852 [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-26T19:17:18.501Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-07-26T19:17:18.713Z] Stashed 1 file(s) [Pipeline] echo [2023-07-26T19:17:18.715Z] [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-26T19:17:18.876Z] provisioning config files... [2023-07-26T19:17:18.885Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-265@tmp/config5733406814025514347tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-26T19:17:19.180Z] ---> docker-login.sh [2023-07-26T19:17:19.180Z] nexus3.edgexfoundry.org:10001 [2023-07-26T19:17:19.180Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T19:17:19.180Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T19:17:19.180Z] Configure a credential helper to remove this warning. See [2023-07-26T19:17:19.180Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T19:17:19.180Z] [2023-07-26T19:17:19.180Z] Login Succeeded [2023-07-26T19:17:19.180Z] nexus3.edgexfoundry.org:10002 [2023-07-26T19:17:19.180Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T19:17:19.180Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T19:17:19.180Z] Configure a credential helper to remove this warning. See [2023-07-26T19:17:19.180Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T19:17:19.180Z] [2023-07-26T19:17:19.180Z] Login Succeeded [2023-07-26T19:17:19.180Z] nexus3.edgexfoundry.org:10003 [2023-07-26T19:17:19.438Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T19:17:19.438Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T19:17:19.438Z] Configure a credential helper to remove this warning. See [2023-07-26T19:17:19.438Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T19:17:19.438Z] [2023-07-26T19:17:19.438Z] Login Succeeded [2023-07-26T19:17:19.438Z] nexus3.edgexfoundry.org:10004 [2023-07-26T19:17:19.438Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T19:17:19.438Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T19:17:19.438Z] Configure a credential helper to remove this warning. See [2023-07-26T19:17:19.438Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T19:17:19.438Z] [2023-07-26T19:17:19.438Z] Login Succeeded [2023-07-26T19:17:19.438Z] docker.io [2023-07-26T19:17:19.697Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T19:17:19.697Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T19:17:19.697Z] Configure a credential helper to remove this warning. See [2023-07-26T19:17:19.697Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T19:17:19.697Z] [2023-07-26T19:17:19.697Z] Login Succeeded [2023-07-26T19:17:19.697Z] ---> docker-login.sh ends [Pipeline] } [2023-07-26T19:17:19.704Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-26T19:17:19.772Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-26T19:17:19.789Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-26T19:17:19.798Z] ========================================================= [2023-07-26T19:17:19.798Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-07-26T19:17:19.798Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T19:17:20.110Z] + 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-26T19:17:20.110Z] Sending build context to Docker daemon 2.028MB [2023-07-26T19:17:20.110Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-07-26T19:17:20.110Z] Step 2/13 : FROM ${BASE} AS builder [2023-07-26T19:17:20.110Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-07-26T19:17:20.110Z] 4db1b89c0bd1: Pulling fs layer [2023-07-26T19:17:20.110Z] 6911f1a30b25: Pulling fs layer [2023-07-26T19:17:20.110Z] e194b8c5c2a9: Pulling fs layer [2023-07-26T19:17:20.110Z] 6863d3e3a2b1: Pulling fs layer [2023-07-26T19:17:20.110Z] ec0bb842ea78: Pulling fs layer [2023-07-26T19:17:20.110Z] 40a00589a448: Pulling fs layer [2023-07-26T19:17:20.110Z] 6c08303d61cc: Pulling fs layer [2023-07-26T19:17:20.110Z] 798269fcf238: Pulling fs layer [2023-07-26T19:17:20.110Z] 6863d3e3a2b1: Waiting [2023-07-26T19:17:20.110Z] 40a00589a448: Waiting [2023-07-26T19:17:20.110Z] ec0bb842ea78: Waiting [2023-07-26T19:17:20.110Z] 6c08303d61cc: Waiting [2023-07-26T19:17:20.110Z] 798269fcf238: Waiting [2023-07-26T19:17:20.369Z] 6911f1a30b25: Download complete [2023-07-26T19:17:20.369Z] 6863d3e3a2b1: Verifying Checksum [2023-07-26T19:17:20.369Z] 6863d3e3a2b1: Download complete [2023-07-26T19:17:20.369Z] ec0bb842ea78: Verifying Checksum [2023-07-26T19:17:20.369Z] ec0bb842ea78: Download complete [2023-07-26T19:17:20.369Z] 4db1b89c0bd1: Verifying Checksum [2023-07-26T19:17:20.369Z] 4db1b89c0bd1: Download complete [2023-07-26T19:17:20.369Z] 40a00589a448: Verifying Checksum [2023-07-26T19:17:20.369Z] 40a00589a448: Download complete [2023-07-26T19:17:20.369Z] 4db1b89c0bd1: Pull complete [2023-07-26T19:17:20.630Z] 6911f1a30b25: Pull complete [2023-07-26T19:17:20.888Z] 798269fcf238: Verifying Checksum [2023-07-26T19:17:20.888Z] 798269fcf238: Download complete [2023-07-26T19:17:20.888Z] e194b8c5c2a9: Verifying Checksum [2023-07-26T19:17:20.888Z] e194b8c5c2a9: Download complete [2023-07-26T19:17:20.888Z] 6c08303d61cc: Verifying Checksum [2023-07-26T19:17:20.888Z] 6c08303d61cc: Download complete [2023-07-26T19:17:24.170Z] e194b8c5c2a9: Pull complete [2023-07-26T19:17:24.170Z] 6863d3e3a2b1: Pull complete [2023-07-26T19:17:24.170Z] ec0bb842ea78: Pull complete [2023-07-26T19:17:24.170Z] 40a00589a448: Pull complete [2023-07-26T19:17:26.694Z] 6c08303d61cc: Pull complete [2023-07-26T19:17:27.260Z] 798269fcf238: Pull complete [2023-07-26T19:17:27.260Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-07-26T19:17:27.260Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-07-26T19:17:27.260Z] ---> ec979cd7f677 [2023-07-26T19:17:27.260Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-07-26T19:17:31.451Z] ---> Running in 48e7d21f00eb [2023-07-26T19:17:31.451Z] Removing intermediate container 48e7d21f00eb [2023-07-26T19:17:31.451Z] ---> ee2b000aa802 [2023-07-26T19:17:31.451Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-26T19:17:31.451Z] ---> Running in 23c914700e19 [2023-07-26T19:17:31.451Z] Removing intermediate container 23c914700e19 [2023-07-26T19:17:31.451Z] ---> 7fb2ce2c86f6 [2023-07-26T19:17:31.451Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-07-26T19:17:31.451Z] ---> Running in 981d8e66344d [2023-07-26T19:17:31.710Z] Removing intermediate container 981d8e66344d [2023-07-26T19:17:31.710Z] ---> d3f6a10e57f3 [2023-07-26T19:17:31.710Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-07-26T19:17:31.710Z] ---> Running in 8ec019d5b6f0 [2023-07-26T19:17:31.710Z] Removing intermediate container 8ec019d5b6f0 [2023-07-26T19:17:31.710Z] ---> 67042de507d6 [2023-07-26T19:17:31.710Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-26T19:17:31.710Z] ---> Running in 1ed6937873a1 [2023-07-26T19:17:31.969Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-26T19:17:32.228Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-26T19:17:32.228Z] (1/14) Installing libintl (0.21.1-r1) [2023-07-26T19:17:32.487Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-07-26T19:17:32.487Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-07-26T19:17:32.487Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-07-26T19:17:32.487Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-07-26T19:17:32.487Z] (6/14) Installing udev-init-scripts (35-r1) [2023-07-26T19:17:32.487Z] (7/14) Installing libblkid (2.38.1-r1) [2023-07-26T19:17:32.487Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-07-26T19:17:32.487Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-07-26T19:17:32.487Z] (10/14) Installing kmod-libs (30-r1) [2023-07-26T19:17:32.487Z] (11/14) Installing eudev (3.2.11-r4) [2023-07-26T19:17:32.487Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-07-26T19:17:32.487Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-07-26T19:17:32.487Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-07-26T19:17:32.487Z] Executing busybox-1.35.0-r29.trigger [2023-07-26T19:17:32.487Z] Executing eudev-3.2.11-r4.trigger [2023-07-26T19:17:32.487Z] OK: 272 MiB in 67 packages [2023-07-26T19:17:33.055Z] Removing intermediate container 1ed6937873a1 [2023-07-26T19:17:33.055Z] ---> 146a7dbea1c0 [2023-07-26T19:17:33.055Z] Step 8/13 : WORKDIR /device-usb-camera [2023-07-26T19:17:33.055Z] ---> Running in 809a088a2a09 [2023-07-26T19:17:33.055Z] Removing intermediate container 809a088a2a09 [2023-07-26T19:17:33.055Z] ---> f9eb80f5ae2e [2023-07-26T19:17:33.055Z] Step 9/13 : COPY go.mod vendor* ./ [2023-07-26T19:17:33.314Z] ---> 1a7bfbbaecb3 [2023-07-26T19:17:33.314Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-26T19:17:33.314Z] ---> Running in ae41c749d338 [2023-07-26T19:17:33.824Z] Still waiting to schedule task [2023-07-26T19:17:33.825Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-07-26T19:17:59.857Z] Removing intermediate container ae41c749d338 [2023-07-26T19:17:59.857Z] ---> e988b6268845 [2023-07-26T19:17:59.857Z] Step 11/13 : COPY . . [2023-07-26T19:17:59.857Z] ---> b216ae644d49 [2023-07-26T19:17:59.857Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-07-26T19:17:59.857Z] ---> Running in 881825425b2c [2023-07-26T19:17:59.857Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-26T19:17:59.857Z] Dload Upload Total Spent Left Speed [2023-07-26T19:17:59.857Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:--  0 100 1062 100 1062 0 0 8527 0 --:--:-- --:--:-- --:--:-- 8564 [2023-07-26T19:17:59.857Z] Removing intermediate container 881825425b2c [2023-07-26T19:17:59.857Z] ---> f1ae47a2b0e8 [2023-07-26T19:17:59.857Z] Step 13/13 : RUN ${MAKE} [2023-07-26T19:17:59.857Z] ---> Running in e2425e309c4b [2023-07-26T19:17:59.857Z] noop [2023-07-26T19:17:59.857Z] Removing intermediate container e2425e309c4b [2023-07-26T19:17:59.857Z] ---> ca3b18b71a8a [2023-07-26T19:17:59.857Z] Successfully built ca3b18b71a8a [2023-07-26T19:17:59.857Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T19:18:00.183Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-26T19:18:00.183Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-26T19:18:00.247Z] prd-ubuntu20.04-docker-8c-8g-2268 does not seem to be running inside a container [2023-07-26T19:18:00.277Z] $ 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-26T19:18:00.599Z] $ docker top f8bc3613d9bd89c424f768976a68063111d5401044c8880e7c3a8372b9dd6042 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-26T19:18:00.925Z] + go version [2023-07-26T19:18:00.925Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-07-26T19:18:00.937Z] $ docker stop --time=1 f8bc3613d9bd89c424f768976a68063111d5401044c8880e7c3a8372b9dd6042 [2023-07-26T19:18:02.208Z] $ docker rm -f --volumes f8bc3613d9bd89c424f768976a68063111d5401044c8880e7c3a8372b9dd6042 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T19:18:02.598Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-26T19:18:02.598Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-26T19:18:02.665Z] prd-ubuntu20.04-docker-8c-8g-2268 does not seem to be running inside a container [2023-07-26T19:18:02.699Z] $ 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-26T19:18:03.007Z] $ docker top 480b9c1b97cb7f3ab1eeba0991c6a1c4f1b12a52248d3997cab4ab27fa62779c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-26T19:18:03.348Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-265 [Pipeline] fileExists [Pipeline] sh [2023-07-26T19:18:03.655Z] + make test [2023-07-26T19:18:03.656Z] go test ./... -coverprofile=coverage.out ./... [2023-07-26T19:18:07.837Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-07-26T19:18:17.820Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-07-26T19:18:17.820Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.018s coverage: 3.5% of statements [2023-07-26T19:18:24.375Z] go vet ./... [2023-07-26T19:18:27.031Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-07-26T19:18:27.031Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-07-26T19:18:27.031Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-07-26T19:18:27.057Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-07-26T19:18:27.075Z] $ docker stop --time=1 480b9c1b97cb7f3ab1eeba0991c6a1c4f1b12a52248d3997cab4ab27fa62779c [2023-07-26T19:18:30.563Z] $ docker rm -f --volumes 480b9c1b97cb7f3ab1eeba0991c6a1c4f1b12a52248d3997cab4ab27fa62779c [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-26T19:18:31.011Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-07-26T19:18:31.065Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-07-26T19:18:31.584Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-07-26T19:18:31.868Z] + ls -al . [2023-07-26T19:18:31.868Z] total 204 [2023-07-26T19:18:31.868Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 26 19:18 . [2023-07-26T19:18:31.868Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 26 19:16 .. [2023-07-26T19:18:31.868Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 26 19:17 .git [2023-07-26T19:18:31.868Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 26 19:17 .github [2023-07-26T19:18:31.868Z] -rw-rw-r-- 1 jenkins jenkins 414 Jul 26 19:17 .gitignore [2023-07-26T19:18:31.868Z] -rw-rw-r-- 1 jenkins jenkins 45 Jul 26 19:17 .golangci.yml [2023-07-26T19:18:31.868Z] -rw-rw-r-- 1 jenkins jenkins 77 Jul 26 19:17 .hadolint.yml [2023-07-26T19:18:31.868Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 26 19:17 .semver [2023-07-26T19:18:31.868Z] -rw-rw-r-- 1 jenkins jenkins 9783 Jul 26 19:17 Attribution.txt [2023-07-26T19:18:31.868Z] -rw-rw-r-- 1 jenkins jenkins 11903 Jul 26 19:17 CHANGELOG.md [2023-07-26T19:18:31.868Z] -rw-rw-r-- 1 jenkins jenkins 2453 Jul 26 19:17 Dockerfile [2023-07-26T19:18:31.868Z] -rw-rw-r-- 1 jenkins jenkins 678 Jul 26 19:17 GOVERNANCE.md [2023-07-26T19:18:31.868Z] -rw-rw-r-- 1 jenkins jenkins 659 Jul 26 19:17 Jenkinsfile [2023-07-26T19:18:31.868Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 26 19:17 LICENSE [2023-07-26T19:18:31.868Z] -rw-rw-r-- 1 jenkins jenkins 2364 Jul 26 19:17 Makefile [2023-07-26T19:18:31.868Z] -rw-rw-r-- 1 jenkins jenkins 622 Jul 26 19:17 OWNERS.md [2023-07-26T19:18:31.868Z] -rw-rw-r-- 1 jenkins jenkins 2575 Jul 26 19:17 README.md [2023-07-26T19:18:31.868Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 26 19:17 VERSION [2023-07-26T19:18:31.868Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 26 19:17 bin [2023-07-26T19:18:31.868Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 26 19:17 cmd [2023-07-26T19:18:31.868Z] -rw-r--r-- 1 jenkins jenkins 43358 Jul 26 19:18 coverage.out [2023-07-26T19:18:31.868Z] -rwxrwxr-x 1 jenkins jenkins 140 Jul 26 19:17 docker-entrypoint.sh [2023-07-26T19:18:31.868Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 26 19:17 docs [2023-07-26T19:18:31.868Z] -rw-rw-r-- 1 jenkins jenkins 3416 Jul 26 19:17 go.mod [2023-07-26T19:18:31.868Z] -rw-rw-r-- 1 jenkins jenkins 31482 Jul 26 19:17 go.sum [2023-07-26T19:18:31.868Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 26 19:17 internal [2023-07-26T19:18:31.868Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 26 19:17 snap [2023-07-26T19:18:31.868Z] -rw-rw-r-- 1 jenkins jenkins 231 Jul 26 19:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T19:18:32.169Z] + 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=1b29e38c626a799305ce08a5f8c743eb178f94a4 --label arch=amd64 --label version=0.0.0 . [2023-07-26T19:18:32.169Z] Sending build context to Docker daemon 2.072MB [2023-07-26T19:18:32.169Z] Step 1/36 : ARG BASE=golang:1.20-alpine3.17 [2023-07-26T19:18:32.169Z] Step 2/36 : FROM ${BASE} AS builder [2023-07-26T19:18:32.169Z] ---> ca3b18b71a8a [2023-07-26T19:18:32.169Z] Step 3/36 : ARG ADD_BUILD_TAGS="" [2023-07-26T19:18:32.169Z] ---> Running in 7d16a72a18b4 [2023-07-26T19:18:32.429Z] Removing intermediate container 7d16a72a18b4 [2023-07-26T19:18:32.429Z] ---> 288aa3bf533a [2023-07-26T19:18:32.429Z] Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-26T19:18:32.429Z] ---> Running in 5e51b7f8ad5c [2023-07-26T19:18:32.429Z] Removing intermediate container 5e51b7f8ad5c [2023-07-26T19:18:32.429Z] ---> 1db0eafeed6c [2023-07-26T19:18:32.429Z] Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-07-26T19:18:32.429Z] ---> Running in 847914b82c46 [2023-07-26T19:18:32.429Z] Removing intermediate container 847914b82c46 [2023-07-26T19:18:32.429Z] ---> b87e78b21f34 [2023-07-26T19:18:32.429Z] Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-07-26T19:18:32.429Z] ---> Running in 2a6cc40fbe69 [2023-07-26T19:18:32.688Z] Removing intermediate container 2a6cc40fbe69 [2023-07-26T19:18:32.688Z] ---> 188df2aaf87d [2023-07-26T19:18:32.688Z] Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-26T19:18:32.688Z] ---> Running in d61da3a7ad12 [2023-07-26T19:18:32.946Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-26T19:18:33.204Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-26T19:18:33.464Z] OK: 272 MiB in 67 packages [2023-07-26T19:18:33.724Z] Removing intermediate container d61da3a7ad12 [2023-07-26T19:18:33.724Z] ---> 2f6d1bf484e3 [2023-07-26T19:18:33.724Z] Step 8/36 : WORKDIR /device-usb-camera [2023-07-26T19:18:33.724Z] ---> Running in 2fcaf4b18ed1 [2023-07-26T19:18:33.724Z] Removing intermediate container 2fcaf4b18ed1 [2023-07-26T19:18:33.724Z] ---> 6983019e5e29 [2023-07-26T19:18:33.724Z] Step 9/36 : COPY go.mod vendor* ./ [2023-07-26T19:18:33.983Z] ---> 9689b45d4e8f [2023-07-26T19:18:33.983Z] Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-26T19:18:33.983Z] ---> Running in 06881a6dff0d [2023-07-26T19:18:34.551Z] Removing intermediate container 06881a6dff0d [2023-07-26T19:18:34.551Z] ---> 8d47e3335cae [2023-07-26T19:18:34.551Z] Step 11/36 : COPY . . [2023-07-26T19:18:34.810Z] ---> f8de888a8c8d [2023-07-26T19:18:34.810Z] Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-07-26T19:18:34.810Z] ---> Running in a55178937bca [2023-07-26T19:18:35.379Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-26T19:18:35.379Z] Dload Upload Total Spent Left Speed [2023-07-26T19:18:35.379Z] 0 0 0 0 0 0  0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 20316 0 --:--:-- --:--:-- --:--:-- 20423 [2023-07-26T19:18:35.641Z] Removing intermediate container a55178937bca [2023-07-26T19:18:35.641Z] ---> bc66212ff192 [2023-07-26T19:18:35.641Z] Step 13/36 : RUN ${MAKE} [2023-07-26T19:18:35.641Z] ---> Running in 4fe25d55f6f8 [2023-07-26T19:18:35.901Z] 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-26T19:18:57.864Z] Removing intermediate container 4fe25d55f6f8 [2023-07-26T19:18:57.864Z] ---> f529a25075c7 [2023-07-26T19:18:57.864Z] Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-07-26T19:18:57.864Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-07-26T19:18:57.864Z] 4acc49c71d14: Pulling fs layer [2023-07-26T19:18:57.864Z] 4acc49c71d14: Verifying Checksum [2023-07-26T19:18:57.864Z] 4acc49c71d14: Download complete [2023-07-26T19:18:57.864Z] 4acc49c71d14: Pull complete [2023-07-26T19:18:57.864Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-07-26T19:18:57.864Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-07-26T19:18:57.864Z] ---> 01a2bd3e5fff [2023-07-26T19:18:57.864Z] Step 15/36 : FROM alpine:3.17 [2023-07-26T19:18:57.864Z] 3.17: Pulling from library/alpine [2023-07-26T19:18:57.864Z] 4db1b89c0bd1: Already exists [2023-07-26T19:18:57.864Z] Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 [2023-07-26T19:18:57.864Z] Status: Downloaded newer image for alpine:3.17 [2023-07-26T19:18:57.864Z] ---> 1f73a9d63274 [2023-07-26T19:18:57.864Z] Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-07-26T19:18:57.864Z] ---> Running in 74b0e5e7b480 [2023-07-26T19:18:57.864Z] Removing intermediate container 74b0e5e7b480 [2023-07-26T19:18:57.864Z] ---> ce29dc4b03b5 [2023-07-26T19:18:57.864Z] Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-07-26T19:18:57.864Z] ---> Running in ba70ccc39586 [2023-07-26T19:18:57.864Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-26T19:18:58.122Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-26T19:18:58.381Z] (1/86) Installing dumb-init (1.2.5-r2) [2023-07-26T19:18:58.381Z] (2/86) Installing sdl2 (2.26.5-r0) [2023-07-26T19:18:58.381Z] (3/86) Installing svt-av1-libs (1.3.0-r0) [2023-07-26T19:18:58.381Z] (4/86) Installing libxau (1.0.10-r0) [2023-07-26T19:18:58.381Z] (5/86) Installing libmd (1.0.4-r0) [2023-07-26T19:18:58.381Z] (6/86) Installing libbsd (0.11.7-r0) [2023-07-26T19:18:58.381Z] (7/86) Installing libxdmcp (1.1.4-r0) [2023-07-26T19:18:58.381Z] (8/86) Installing libxcb (1.15-r0) [2023-07-26T19:18:58.381Z] (9/86) Installing libx11 (1.8.4-r1) [2023-07-26T19:18:58.381Z] (10/86) Installing aom-libs (3.5.0-r0) [2023-07-26T19:18:58.640Z] (11/86) Installing alsa-lib (1.2.8-r0) [2023-07-26T19:18:58.640Z] (12/86) Installing libexpat (2.5.0-r0) [2023-07-26T19:18:58.640Z] (13/86) Installing brotli-libs (1.0.9-r9) [2023-07-26T19:18:58.640Z] (14/86) Installing libbz2 (1.0.8-r4) [2023-07-26T19:18:58.640Z] (15/86) Installing libpng (1.6.38-r0) [2023-07-26T19:18:58.640Z] (16/86) Installing freetype (2.12.1-r0) [2023-07-26T19:18:58.640Z] (17/86) Installing fontconfig (2.14.1-r0) [2023-07-26T19:18:58.640Z] (18/86) Installing fribidi (1.0.12-r0) [2023-07-26T19:18:58.640Z] (19/86) Installing libffi (3.4.4-r0) [2023-07-26T19:18:58.640Z] (20/86) Installing libintl (0.21.1-r1) [2023-07-26T19:18:58.640Z] (21/86) Installing libblkid (2.38.1-r1) [2023-07-26T19:18:58.640Z] (22/86) Installing libmount (2.38.1-r1) [2023-07-26T19:18:58.640Z] (23/86) Installing pcre2 (10.42-r0) [2023-07-26T19:18:58.640Z] (24/86) Installing glib (2.74.7-r0) [2023-07-26T19:18:58.640Z] (25/86) Installing graphite2 (1.3.14-r2) [2023-07-26T19:18:58.640Z] (26/86) Installing harfbuzz (5.3.1-r1) [2023-07-26T19:18:58.640Z] (27/86) Installing libass (0.16.0-r1) [2023-07-26T19:18:58.640Z] (28/86) Installing libdav1d (1.0.0-r2) [2023-07-26T19:18:58.640Z] (29/86) Installing hwdata-pci (0.364-r0) [2023-07-26T19:18:58.640Z] (30/86) Installing libpciaccess (0.17-r0) [2023-07-26T19:18:58.640Z] (31/86) Installing libdrm (2.4.114-r0) [2023-07-26T19:18:58.640Z] (32/86) Installing gmp (6.2.1-r2) [2023-07-26T19:18:58.640Z] (33/86) Installing nettle (3.8.1-r0) [2023-07-26T19:18:58.640Z] (34/86) Installing p11-kit (0.24.1-r1) [2023-07-26T19:18:58.899Z] (35/86) Installing libtasn1 (4.19.0-r0) [2023-07-26T19:18:58.899Z] (36/86) Installing libunistring (1.1-r0) [2023-07-26T19:18:58.899Z] (37/86) Installing gnutls (3.7.8-r3) [2023-07-26T19:18:58.899Z] (38/86) Installing ncurses-terminfo-base (6.3_p20221119-r1) [2023-07-26T19:18:58.899Z] (39/86) Installing ncurses-libs (6.3_p20221119-r1) [2023-07-26T19:18:58.899Z] (40/86) Installing lame (3.100-r2) [2023-07-26T19:18:58.899Z] (41/86) Installing opus (1.3.1-r1) [2023-07-26T19:18:58.899Z] (42/86) Installing libasyncns (0.8-r1) [2023-07-26T19:18:58.899Z] (43/86) Installing dbus-libs (1.14.8-r0) [2023-07-26T19:18:58.899Z] (44/86) Installing libltdl (2.4.7-r1) [2023-07-26T19:18:58.899Z] (45/86) Installing orc (0.4.33-r0) [2023-07-26T19:18:58.899Z] (46/86) Installing libgcc (12.2.1_git20220924-r4) [2023-07-26T19:18:58.899Z] (47/86) Installing libogg (1.3.5-r2) [2023-07-26T19:18:58.899Z] (48/86) Installing libstdc++ (12.2.1_git20220924-r4) [2023-07-26T19:18:58.899Z] (49/86) Installing flac-libs (1.4.2-r0) [2023-07-26T19:18:58.899Z] (50/86) Installing libvorbis (1.3.7-r0) [2023-07-26T19:18:58.899Z] (51/86) Installing libsndfile (1.1.0-r2) [2023-07-26T19:18:58.899Z] (52/86) Installing libgomp (12.2.1_git20220924-r4) [2023-07-26T19:18:58.899Z] (53/86) Installing soxr (0.1.3-r3) [2023-07-26T19:18:58.899Z] (54/86) Installing speexdsp (1.2.1-r0) [2023-07-26T19:18:58.899Z] (55/86) Installing tdb-libs (1.4.6-r0) [2023-07-26T19:18:58.899Z] (56/86) Installing libpulse (16.1-r6) [2023-07-26T19:18:58.899Z] (57/86) Installing cjson (1.7.15-r3) [2023-07-26T19:18:58.899Z] (58/86) Installing mbedtls (2.28.3-r0) [2023-07-26T19:18:58.899Z] (59/86) Installing librist (0.2.7-r0) [2023-07-26T19:18:58.899Z] (60/86) Installing libsrt (1.5.1-r0) [2023-07-26T19:18:58.899Z] (61/86) Installing libssh (0.10.5-r0) [2023-07-26T19:18:58.899Z] (62/86) Installing libtheora (1.1.1-r16) [2023-07-26T19:18:59.159Z] (63/86) Installing libjpeg-turbo (2.1.4-r0) [2023-07-26T19:18:59.159Z] (64/86) Installing v4l-utils-libs (1.22.1-r2) [2023-07-26T19:18:59.159Z] (65/86) Installing libxext (1.3.5-r0) [2023-07-26T19:18:59.159Z] (66/86) Installing libxfixes (6.0.0-r0) [2023-07-26T19:18:59.159Z] (67/86) Installing wayland-libs-client (1.21.0-r1) [2023-07-26T19:18:59.159Z] (68/86) Installing libva (2.16.0-r0) [2023-07-26T19:18:59.159Z] (69/86) Installing libvdpau (1.5-r0) [2023-07-26T19:18:59.159Z] (70/86) Installing vidstab (1.1.0-r2) [2023-07-26T19:18:59.159Z] (71/86) Installing libvpx (1.12.0-r1) [2023-07-26T19:18:59.159Z] (72/86) Installing libwebp (1.2.4-r2) [2023-07-26T19:18:59.159Z] (73/86) Installing x264-libs (0.164_git20220602-r0) [2023-07-26T19:18:59.159Z] (74/86) Installing numactl (2.0.16-r1) [2023-07-26T19:18:59.159Z] (75/86) Installing x265-libs (3.5-r3) [2023-07-26T19:18:59.159Z] (76/86) Installing xvidcore (1.3.7-r1) [2023-07-26T19:18:59.159Z] (77/86) Installing libsodium (1.0.18-r2) [2023-07-26T19:18:59.159Z] (78/86) Installing libzmq (4.3.4-r1) [2023-07-26T19:18:59.159Z] (79/86) Installing ffmpeg-libs (5.1.3-r0) [2023-07-26T19:18:59.418Z] (80/86) Installing ffmpeg (5.1.3-r0) [2023-07-26T19:18:59.418Z] (81/86) Installing udev-init-scripts (35-r1) [2023-07-26T19:18:59.418Z] (82/86) Installing eudev-libs (3.2.11-r4) [2023-07-26T19:18:59.418Z] (83/86) Installing xz-libs (5.2.9-r0) [2023-07-26T19:18:59.418Z] (84/86) Installing zstd-libs (1.5.5-r0) [2023-07-26T19:18:59.418Z] (85/86) Installing kmod-libs (30-r1) [2023-07-26T19:18:59.418Z] (86/86) Installing eudev (3.2.11-r4) [2023-07-26T19:18:59.418Z] Executing busybox-1.35.0-r29.trigger [2023-07-26T19:18:59.418Z] Executing eudev-3.2.11-r4.trigger [2023-07-26T19:18:59.418Z] OK: 112 MiB in 101 packages [2023-07-26T19:19:02.702Z] Removing intermediate container ba70ccc39586 [2023-07-26T19:19:02.702Z] ---> 6d7b1d25d7d9 [2023-07-26T19:19:02.702Z] Step 18/36 : WORKDIR / [2023-07-26T19:19:02.702Z] ---> Running in c78398e48161 [2023-07-26T19:19:02.702Z] Removing intermediate container c78398e48161 [2023-07-26T19:19:02.702Z] ---> ac2a81419950 [2023-07-26T19:19:02.702Z] Step 19/36 : COPY --from=builder /device-usb-camera/cmd / [2023-07-26T19:19:03.269Z] ---> cfaca7cf45c1 [2023-07-26T19:19:03.269Z] Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / [2023-07-26T19:19:03.529Z] ---> 64691d6da2e1 [2023-07-26T19:19:03.529Z] Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-07-26T19:19:03.529Z] ---> 5798c1bf92b7 [2023-07-26T19:19:03.529Z] Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-07-26T19:19:03.787Z] ---> 39968b35a731 [2023-07-26T19:19:03.787Z] Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-07-26T19:19:03.787Z] ---> 6eb3c2f6a906 [2023-07-26T19:19:03.787Z] Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-07-26T19:19:03.787Z] ---> 7d79372efba1 [2023-07-26T19:19:03.787Z] Step 25/36 : COPY --from=rtsp /rtsp-simple-server / [2023-07-26T19:19:04.722Z] ---> a7f58582d115 [2023-07-26T19:19:04.722Z] Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-07-26T19:19:04.722Z] ---> Running in 25cc61ab0e29 [2023-07-26T19:19:05.286Z] Removing intermediate container 25cc61ab0e29 [2023-07-26T19:19:05.286Z] ---> 8a8aeb9bc0b7 [2023-07-26T19:19:05.286Z] Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-07-26T19:19:05.286Z] ---> Running in 924ad94a60c9 [2023-07-26T19:19:05.853Z] Removing intermediate container 924ad94a60c9 [2023-07-26T19:19:05.853Z] ---> 5c37410119be [2023-07-26T19:19:05.853Z] Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-07-26T19:19:05.853Z] ---> Running in ca28b232bd74 [2023-07-26T19:19:06.421Z] Removing intermediate container ca28b232bd74 [2023-07-26T19:19:06.421Z] ---> 42e62923181c [2023-07-26T19:19:06.421Z] Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml [2023-07-26T19:19:06.421Z] ---> Running in a9749cb54e0e [2023-07-26T19:19:06.680Z] Removing intermediate container a9749cb54e0e [2023-07-26T19:19:06.680Z] ---> 4ecbd5121ad8 [2023-07-26T19:19:06.680Z] Step 30/36 : EXPOSE 59983 [2023-07-26T19:19:06.680Z] ---> Running in 7a0f6c02bf8b [2023-07-26T19:19:06.938Z] Removing intermediate container 7a0f6c02bf8b [2023-07-26T19:19:06.938Z] ---> 3b65eecfb486 [2023-07-26T19:19:06.938Z] Step 31/36 : EXPOSE 8554 [2023-07-26T19:19:06.938Z] ---> Running in 5591d4be439a [2023-07-26T19:19:06.938Z] Removing intermediate container 5591d4be439a [2023-07-26T19:19:06.938Z] ---> 2b8933645170 [2023-07-26T19:19:06.938Z] Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-07-26T19:19:06.938Z] ---> Running in 9904b4724c46 [2023-07-26T19:19:06.938Z] Removing intermediate container 9904b4724c46 [2023-07-26T19:19:06.938Z] ---> 4a6b14dcf355 [2023-07-26T19:19:06.938Z] Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-07-26T19:19:06.938Z] ---> Running in 2580508ea73e [2023-07-26T19:19:07.197Z] Removing intermediate container 2580508ea73e [2023-07-26T19:19:07.197Z] ---> bf45978e58d5 [2023-07-26T19:19:07.197Z] Step 34/36 : LABEL arch=amd64 [2023-07-26T19:19:07.197Z] ---> Running in a990142cd052 [2023-07-26T19:19:07.197Z] Removing intermediate container a990142cd052 [2023-07-26T19:19:07.197Z] ---> ed0e8f2973ae [2023-07-26T19:19:07.197Z] Step 35/36 : LABEL git_sha=1b29e38c626a799305ce08a5f8c743eb178f94a4 [2023-07-26T19:19:07.197Z] ---> Running in b296dfa3f3ae [2023-07-26T19:19:07.197Z] Removing intermediate container b296dfa3f3ae [2023-07-26T19:19:07.197Z] ---> 58a3ff7f574f [2023-07-26T19:19:07.197Z] Step 36/36 : LABEL version=0.0.0 [2023-07-26T19:19:07.197Z] ---> Running in 65a2d477191d [2023-07-26T19:19:07.457Z] Removing intermediate container 65a2d477191d [2023-07-26T19:19:07.457Z] ---> f632bd48ad2c [2023-07-26T19:19:07.457Z] [Warning] One or more build-args [ARCH] were not consumed [2023-07-26T19:19:07.457Z] Successfully built f632bd48ad2c [2023-07-26T19:19:07.457Z] 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-26T19:19:07.873Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-26T19:19:07.873Z] [2023-07-26T19:19:07.873Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T19:19:08.176Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-26T19:19:08.176Z] latest: Pulling from edgex-lftools-log-publisher [2023-07-26T19:19:08.176Z] 5eb5b503b376: Pulling fs layer [2023-07-26T19:19:08.176Z] 5c69ac0246d0: Pulling fs layer [2023-07-26T19:19:08.176Z] ec43610c2a17: Pulling fs layer [2023-07-26T19:19:08.176Z] 3a2ae6a8a46f: Pulling fs layer [2023-07-26T19:19:08.176Z] 33b1e0a273af: Pulling fs layer [2023-07-26T19:19:08.176Z] 5d3b04190fa2: Pulling fs layer [2023-07-26T19:19:08.176Z] 2f39f015ded8: Pulling fs layer [2023-07-26T19:19:08.176Z] 33b1e0a273af: Waiting [2023-07-26T19:19:08.176Z] 5d3b04190fa2: Waiting [2023-07-26T19:19:08.176Z] 2f39f015ded8: Waiting [2023-07-26T19:19:08.176Z] 3a2ae6a8a46f: Waiting [2023-07-26T19:19:08.176Z] 5c69ac0246d0: Download complete [2023-07-26T19:19:08.176Z] 3a2ae6a8a46f: Verifying Checksum [2023-07-26T19:19:08.176Z] 3a2ae6a8a46f: Download complete [2023-07-26T19:19:08.176Z] 33b1e0a273af: Verifying Checksum [2023-07-26T19:19:08.176Z] 33b1e0a273af: Download complete [2023-07-26T19:19:08.176Z] ec43610c2a17: Verifying Checksum [2023-07-26T19:19:08.176Z] ec43610c2a17: Download complete [2023-07-26T19:19:08.176Z] 5d3b04190fa2: Verifying Checksum [2023-07-26T19:19:08.176Z] 5d3b04190fa2: Download complete [2023-07-26T19:19:08.436Z] 5eb5b503b376: Verifying Checksum [2023-07-26T19:19:08.436Z] 5eb5b503b376: Download complete [2023-07-26T19:19:09.000Z] 2f39f015ded8: Verifying Checksum [2023-07-26T19:19:09.000Z] 2f39f015ded8: Download complete [2023-07-26T19:19:09.566Z] 5eb5b503b376: Pull complete [2023-07-26T19:19:09.566Z] 5c69ac0246d0: Pull complete [2023-07-26T19:19:10.132Z] ec43610c2a17: Pull complete [2023-07-26T19:19:10.132Z] 3a2ae6a8a46f: Pull complete [2023-07-26T19:19:10.390Z] 33b1e0a273af: Pull complete [2023-07-26T19:19:10.390Z] 5d3b04190fa2: Pull complete [2023-07-26T19:19:14.576Z] 2f39f015ded8: Pull complete [2023-07-26T19:19:14.576Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-07-26T19:19:14.576Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-26T19:19:14.576Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-26T19:19:14.656Z] prd-ubuntu20.04-docker-8c-8g-2268 does not seem to be running inside a container [2023-07-26T19:19:14.696Z] $ 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-26T19:19:20.868Z] $ docker top 2282a4858f7a074998976639027efc89c3feb5dba79ceca1cc3ec17e3030b145 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-26T19:19:21.238Z] ---> job-cost.sh [2023-07-26T19:19:21.238Z] lf-activate-venv: SKIPPING [2023-07-26T19:19:21.238Z] INFO: No Stack... [2023-07-26T19:19:21.498Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-26T19:19:21.758Z] INFO: Archiving Costs [Pipeline] sh [2023-07-26T19:19:22.261Z] + cat /w/workspace/foundry_device-usb-camera_PR-265/archives/cost.csv [2023-07-26T19:19:22.261Z] + cut -d, -f6 [Pipeline] lock [2023-07-26T19:19:22.854Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-265-25-stack-cost] [2023-07-26T19:19:22.861Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-265-25-stack-cost] did not exist. Created. [2023-07-26T19:19:22.861Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-265-25-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-26T19:19:25.669Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-07-26T19:19:25.701Z] Stashed 1 file(s) [Pipeline] } [2023-07-26T19:19:25.710Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-265-25-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-26T19:19:25.735Z] $ docker stop --time=1 2282a4858f7a074998976639027efc89c3feb5dba79ceca1cc3ec17e3030b145 [2023-07-26T19:19:27.443Z] $ docker rm -f --volumes 2282a4858f7a074998976639027efc89c3feb5dba79ceca1cc3ec17e3030b145 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-07-26T19:20:41.623Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2270 in /w/workspace/foundry_device-usb-camera_PR-265 [Pipeline] { [Pipeline] ws [2023-07-26T19:20:41.634Z] Running in /w/workspace/device-usb-camera/25 [Pipeline] { [Pipeline] checkout [2023-07-26T19:20:41.662Z] Selected Git installation does not exist. Using Default [2023-07-26T19:20:41.663Z] The recommended git tool is: NONE [2023-07-26T19:20:47.569Z] using credential edgex-jenkins-ssh [2023-07-26T19:20:47.593Z] Cloning the remote Git repository [2023-07-26T19:20:47.644Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2023-07-26T19:20:47.751Z] > git init /w/workspace/device-usb-camera/25 # timeout=10 [2023-07-26T19:20:47.910Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-07-26T19:20:47.911Z] > git --version # timeout=10 [2023-07-26T19:20:47.935Z] > git --version # 'git version 2.25.1' [2023-07-26T19:20:47.938Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-26T19:20:48.097Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-26T19:20:48.992Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-07-26T19:20:49.022Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-26T19:20:49.941Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-07-26T19:20:49.980Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-07-26T19:20:49.981Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-26T19:20:49.997Z] > 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-26T19:20:50.760Z] Merging remotes/origin/main commit 7adbecab942a7b2115c6abd3dbc7641bc9f3f60a into PR head commit 1b29e38c626a799305ce08a5f8c743eb178f94a4 [2023-07-26T19:20:51.055Z] Merge succeeded, producing 1b29e38c626a799305ce08a5f8c743eb178f94a4 [2023-07-26T19:20:51.055Z] Checking out Revision 1b29e38c626a799305ce08a5f8c743eb178f94a4 (PR-265) [2023-07-26T19:20:51.556Z] Commit message: "feat: modified some comments and error messages in deriver.go" [2023-07-26T19:20:50.781Z] > git config core.sparsecheckout # timeout=10 [2023-07-26T19:20:50.861Z] > git checkout -f 1b29e38c626a799305ce08a5f8c743eb178f94a4 # timeout=10 [2023-07-26T19:20:50.955Z] > git remote # timeout=10 [2023-07-26T19:20:50.976Z] > git config --get remote.origin.url # timeout=10 [2023-07-26T19:20:50.996Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-26T19:20:51.011Z] > git merge 7adbecab942a7b2115c6abd3dbc7641bc9f3f60a # timeout=10 [2023-07-26T19:20:51.039Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-07-26T19:20:51.064Z] > git config core.sparsecheckout # timeout=10 [2023-07-26T19:20:51.080Z] > git checkout -f 1b29e38c626a799305ce08a5f8c743eb178f94a4 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-26T19:20:52.381Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-07-26T19:20:52.381Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-26T19:20:52.381Z] Dload Upload Total Spent Left Speed [2023-07-26T19:20:52.381Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 230k 0 --:--:-- --:--:-- --:--:-- 230k [Pipeline] sh [2023-07-26T19:20:52.963Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-07-26T19:20:53.295Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-07-26T19:20:53.295Z] + sudo tee /etc/docker/daemon.new [2023-07-26T19:20:53.295Z] { [2023-07-26T19:20:53.295Z] "registry-mirrors": [ [2023-07-26T19:20:53.295Z] "https://nexus3.edgexfoundry.org:10001" [2023-07-26T19:20:53.295Z] ], [2023-07-26T19:20:53.295Z] "bip": "10.250.0.254/24", [2023-07-26T19:20:53.295Z] "hosts": [ [2023-07-26T19:20:53.295Z] "tcp://0.0.0.0:5555", [2023-07-26T19:20:53.295Z] "unix:///var/run/docker.sock" [2023-07-26T19:20:53.295Z] ], [2023-07-26T19:20:53.295Z] "mtu": 1458, [2023-07-26T19:20:53.295Z] "selinux-enabled": true, [2023-07-26T19:20:53.295Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-07-26T19:20:53.295Z] } [Pipeline] sh [2023-07-26T19:20:53.623Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-07-26T19:20:53.949Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-26T19:21:12.227Z] provisioning config files... [2023-07-26T19:21:12.254Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/25@tmp/config362727876100590482tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-26T19:21:12.603Z] ---> docker-login.sh [2023-07-26T19:21:12.603Z] nexus3.edgexfoundry.org:10001 [2023-07-26T19:21:12.879Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T19:21:13.149Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T19:21:13.149Z] Configure a credential helper to remove this warning. See [2023-07-26T19:21:13.149Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T19:21:13.149Z] [2023-07-26T19:21:13.149Z] Login Succeeded [2023-07-26T19:21:13.149Z] nexus3.edgexfoundry.org:10002 [2023-07-26T19:21:13.419Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T19:21:13.689Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T19:21:13.689Z] Configure a credential helper to remove this warning. See [2023-07-26T19:21:13.689Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T19:21:13.689Z] [2023-07-26T19:21:13.689Z] Login Succeeded [2023-07-26T19:21:13.689Z] nexus3.edgexfoundry.org:10003 [2023-07-26T19:21:13.961Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T19:21:13.961Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T19:21:13.961Z] Configure a credential helper to remove this warning. See [2023-07-26T19:21:13.961Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T19:21:13.961Z] [2023-07-26T19:21:13.961Z] Login Succeeded [2023-07-26T19:21:13.961Z] nexus3.edgexfoundry.org:10004 [2023-07-26T19:21:14.232Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T19:21:14.232Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T19:21:14.232Z] Configure a credential helper to remove this warning. See [2023-07-26T19:21:14.232Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T19:21:14.232Z] [2023-07-26T19:21:14.232Z] Login Succeeded [2023-07-26T19:21:14.232Z] docker.io [2023-07-26T19:21:14.504Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T19:21:15.088Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T19:21:15.088Z] Configure a credential helper to remove this warning. See [2023-07-26T19:21:15.088Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T19:21:15.088Z] [2023-07-26T19:21:15.088Z] Login Succeeded [2023-07-26T19:21:15.088Z] ---> docker-login.sh ends [Pipeline] } [2023-07-26T19:21:15.102Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-26T19:21:15.345Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-26T19:21:15.365Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-26T19:21:15.379Z] ========================================================= [2023-07-26T19:21:15.379Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-07-26T19:21:15.379Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T19:21:15.736Z] + 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-26T19:21:16.016Z] Sending build context to Docker daemon 1.231MB [2023-07-26T19:21:16.016Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-07-26T19:21:16.016Z] Step 2/13 : FROM ${BASE} AS builder [2023-07-26T19:21:16.288Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-07-26T19:21:16.288Z] edb6bdbacee9: Pulling fs layer [2023-07-26T19:21:16.288Z] 5f9638ab2659: Pulling fs layer [2023-07-26T19:21:16.288Z] 8d51d6327a98: Pulling fs layer [2023-07-26T19:21:16.288Z] 8b374f2dd631: Pulling fs layer [2023-07-26T19:21:16.288Z] ec14aa9079de: Pulling fs layer [2023-07-26T19:21:16.288Z] 2f466654f4bb: Pulling fs layer [2023-07-26T19:21:16.288Z] 554e91adad29: Pulling fs layer [2023-07-26T19:21:16.288Z] 8b374f2dd631: Waiting [2023-07-26T19:21:16.288Z] 2f466654f4bb: Waiting [2023-07-26T19:21:16.288Z] 554e91adad29: Waiting [2023-07-26T19:21:16.288Z] 5f9638ab2659: Verifying Checksum [2023-07-26T19:21:16.288Z] 5f9638ab2659: Download complete [2023-07-26T19:21:16.288Z] 8b374f2dd631: Verifying Checksum [2023-07-26T19:21:16.288Z] 8b374f2dd631: Download complete [2023-07-26T19:21:16.288Z] ec14aa9079de: Verifying Checksum [2023-07-26T19:21:16.288Z] ec14aa9079de: Download complete [2023-07-26T19:21:16.288Z] edb6bdbacee9: Verifying Checksum [2023-07-26T19:21:16.288Z] edb6bdbacee9: Download complete [2023-07-26T19:21:17.274Z] edb6bdbacee9: Pull complete [2023-07-26T19:21:17.544Z] 554e91adad29: Verifying Checksum [2023-07-26T19:21:17.544Z] 554e91adad29: Download complete [2023-07-26T19:21:18.140Z] 5f9638ab2659: Pull complete [2023-07-26T19:21:19.106Z] 2f466654f4bb: Verifying Checksum [2023-07-26T19:21:19.107Z] 2f466654f4bb: Download complete [2023-07-26T19:21:19.107Z] 8d51d6327a98: Download complete [2023-07-26T19:21:31.445Z] 8d51d6327a98: Pull complete [2023-07-26T19:21:31.445Z] 8b374f2dd631: Pull complete [2023-07-26T19:21:31.445Z] ec14aa9079de: Pull complete [2023-07-26T19:21:36.807Z] 2f466654f4bb: Pull complete [2023-07-26T19:21:42.368Z] 554e91adad29: Pull complete [2023-07-26T19:21:42.368Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-07-26T19:21:42.368Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-07-26T19:21:42.368Z] ---> 1e15ea492957 [2023-07-26T19:21:42.368Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-07-26T19:21:43.780Z] ---> Running in 9034300439be [2023-07-26T19:21:44.050Z] Removing intermediate container 9034300439be [2023-07-26T19:21:44.050Z] ---> 13753f6e994b [2023-07-26T19:21:44.050Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-26T19:21:44.050Z] ---> Running in 39961ddcccc5 [2023-07-26T19:21:44.322Z] Removing intermediate container 39961ddcccc5 [2023-07-26T19:21:44.322Z] ---> 9717e4819f0c [2023-07-26T19:21:44.322Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-07-26T19:21:44.322Z] ---> Running in a1a64ab4bfb5 [2023-07-26T19:21:44.914Z] Removing intermediate container a1a64ab4bfb5 [2023-07-26T19:21:44.914Z] ---> b44017d0855e [2023-07-26T19:21:44.914Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-07-26T19:21:44.914Z] ---> Running in 45076b347975 [2023-07-26T19:21:45.184Z] Removing intermediate container 45076b347975 [2023-07-26T19:21:45.184Z] ---> b1fc048db831 [2023-07-26T19:21:45.184Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-26T19:21:45.184Z] ---> Running in da196f774b8f [2023-07-26T19:21:46.604Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-26T19:21:46.873Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-26T19:21:47.836Z] (1/14) Installing libintl (0.21.1-r1) [2023-07-26T19:21:47.836Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-07-26T19:21:47.836Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-07-26T19:21:47.836Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-07-26T19:21:47.836Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-07-26T19:21:47.836Z] (6/14) Installing udev-init-scripts (35-r1) [2023-07-26T19:21:47.836Z] (7/14) Installing libblkid (2.38.1-r1) [2023-07-26T19:21:47.836Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-07-26T19:21:48.108Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-07-26T19:21:48.108Z] (10/14) Installing kmod-libs (30-r1) [2023-07-26T19:21:48.108Z] (11/14) Installing eudev (3.2.11-r4) [2023-07-26T19:21:48.108Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-07-26T19:21:48.108Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-07-26T19:21:48.108Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-07-26T19:21:48.108Z] Executing busybox-1.35.0-r29.trigger [2023-07-26T19:21:48.108Z] Executing eudev-3.2.11-r4.trigger [2023-07-26T19:21:48.108Z] OK: 271 MiB in 67 packages [2023-07-26T19:21:49.526Z] Removing intermediate container da196f774b8f [2023-07-26T19:21:49.526Z] ---> c24fd2245d90 [2023-07-26T19:21:49.526Z] Step 8/13 : WORKDIR /device-usb-camera [2023-07-26T19:21:49.526Z] ---> Running in 9dc831e0a702 [2023-07-26T19:21:49.794Z] Removing intermediate container 9dc831e0a702 [2023-07-26T19:21:49.794Z] ---> 74944f0a89cb [2023-07-26T19:21:49.794Z] Step 9/13 : COPY go.mod vendor* ./ [2023-07-26T19:21:50.380Z] ---> 8e36e78275c7 [2023-07-26T19:21:50.380Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-26T19:21:50.380Z] ---> Running in 05d01fb79224 [2023-07-26T19:22:58.273Z] Removing intermediate container 05d01fb79224 [2023-07-26T19:22:58.273Z] ---> 32091be54598 [2023-07-26T19:22:58.273Z] Step 11/13 : COPY . . [2023-07-26T19:22:58.273Z] ---> b121ca01240d [2023-07-26T19:22:58.273Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-07-26T19:22:58.273Z] ---> Running in 5feb721e6022 [2023-07-26T19:22:58.273Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-26T19:22:58.273Z] Dload Upload Total Spent Left Speed [2023-07-26T19:22:58.273Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 4127 0 --:--:-- --:--:-- --:--:-- 4148 [2023-07-26T19:22:58.273Z] Removing intermediate container 5feb721e6022 [2023-07-26T19:22:58.273Z] ---> c5916cb1fcc0 [2023-07-26T19:22:58.273Z] Step 13/13 : RUN ${MAKE} [2023-07-26T19:22:58.273Z] ---> Running in 150eab07f710 [2023-07-26T19:22:58.273Z] noop [2023-07-26T19:22:58.273Z] Removing intermediate container 150eab07f710 [2023-07-26T19:22:58.273Z] ---> 26d3c0a32f56 [2023-07-26T19:22:58.273Z] Successfully built 26d3c0a32f56 [2023-07-26T19:22:58.273Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T19:22:58.624Z] + docker inspect -f . ci-base-image-arm64 [2023-07-26T19:22:58.624Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-26T19:22:58.840Z] prd-ubuntu20.04-docker-arm64-4c-16g-2270 does not seem to be running inside a container [2023-07-26T19:22:58.905Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/25 -v /w/workspace/device-usb-camera/25:/w/workspace/device-usb-camera/25:rw,z -v /w/workspace/device-usb-camera/25@tmp:/w/workspace/device-usb-camera/25@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-07-26T19:23:00.121Z] $ docker top 50e84a4b0668426c0d0b7a38fb9ba3c43b9bd9d12f2f294b5335eff844f986e5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-26T19:23:00.951Z] + go version [2023-07-26T19:23:00.951Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-07-26T19:23:00.973Z] $ docker stop --time=1 50e84a4b0668426c0d0b7a38fb9ba3c43b9bd9d12f2f294b5335eff844f986e5 [2023-07-26T19:23:02.621Z] $ docker rm -f --volumes 50e84a4b0668426c0d0b7a38fb9ba3c43b9bd9d12f2f294b5335eff844f986e5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T19:23:03.193Z] + docker inspect -f . ci-base-image-arm64 [2023-07-26T19:23:03.193Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-26T19:23:03.388Z] prd-ubuntu20.04-docker-arm64-4c-16g-2270 does not seem to be running inside a container [2023-07-26T19:23:03.455Z] $ 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/25 -v /w/workspace/device-usb-camera/25:/w/workspace/device-usb-camera/25:rw,z -v /w/workspace/device-usb-camera/25@tmp:/w/workspace/device-usb-camera/25@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-07-26T19:23:04.620Z] $ docker top e69acce1e528313baef9de7250a5d24c67a2c487280eb9084b69ef6ff81365f9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-26T19:23:05.123Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/25 [Pipeline] fileExists [Pipeline] sh [2023-07-26T19:23:05.450Z] + make test [2023-07-26T19:23:05.450Z] go test ./... -coverprofile=coverage.out ./... [2023-07-26T19:23:37.675Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-07-26T19:25:44.390Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-07-26T19:25:52.621Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.107s coverage: 3.5% of statements [2023-07-26T19:25:52.889Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-07-26T19:25:52.889Z] go vet ./... [2023-07-26T19:26:31.780Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-07-26T19:26:31.780Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-07-26T19:26:31.780Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-07-26T19:26:31.801Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-07-26T19:26:31.819Z] $ docker stop --time=1 e69acce1e528313baef9de7250a5d24c67a2c487280eb9084b69ef6ff81365f9 [2023-07-26T19:26:33.660Z] $ docker rm -f --volumes e69acce1e528313baef9de7250a5d24c67a2c487280eb9084b69ef6ff81365f9 [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-26T19:26:34.760Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-07-26T19:26:34.782Z] Warning: overwriting stash ‘coverage-report’ [2023-07-26T19:26:35.254Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-26T19:26:35.630Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-07-26T19:26:35.949Z] + ls -al . [2023-07-26T19:26:35.949Z] total 200 [2023-07-26T19:26:35.949Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 26 19:23 . [2023-07-26T19:26:35.949Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 26 19:20 .. [2023-07-26T19:26:35.949Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 26 19:20 .git [2023-07-26T19:26:35.949Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 26 19:20 .github [2023-07-26T19:26:35.949Z] -rw-rw-r-- 1 jenkins jenkins 414 Jul 26 19:20 .gitignore [2023-07-26T19:26:35.949Z] -rw-rw-r-- 1 jenkins jenkins 45 Jul 26 19:20 .golangci.yml [2023-07-26T19:26:35.949Z] -rw-rw-r-- 1 jenkins jenkins 77 Jul 26 19:20 .hadolint.yml [2023-07-26T19:26:35.949Z] -rw-rw-r-- 1 jenkins jenkins 9783 Jul 26 19:20 Attribution.txt [2023-07-26T19:26:35.949Z] -rw-rw-r-- 1 jenkins jenkins 11903 Jul 26 19:20 CHANGELOG.md [2023-07-26T19:26:35.949Z] -rw-rw-r-- 1 jenkins jenkins 2453 Jul 26 19:20 Dockerfile [2023-07-26T19:26:35.949Z] -rw-rw-r-- 1 jenkins jenkins 678 Jul 26 19:20 GOVERNANCE.md [2023-07-26T19:26:35.949Z] -rw-rw-r-- 1 jenkins jenkins 659 Jul 26 19:20 Jenkinsfile [2023-07-26T19:26:35.949Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 26 19:20 LICENSE [2023-07-26T19:26:35.949Z] -rw-rw-r-- 1 jenkins jenkins 2364 Jul 26 19:20 Makefile [2023-07-26T19:26:35.949Z] -rw-rw-r-- 1 jenkins jenkins 622 Jul 26 19:20 OWNERS.md [2023-07-26T19:26:35.949Z] -rw-rw-r-- 1 jenkins jenkins 2575 Jul 26 19:20 README.md [2023-07-26T19:26:35.949Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 26 19:17 VERSION [2023-07-26T19:26:35.949Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 26 19:20 bin [2023-07-26T19:26:35.949Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 26 19:20 cmd [2023-07-26T19:26:35.949Z] -rw-r--r-- 1 jenkins jenkins 43358 Jul 26 19:25 coverage.out [2023-07-26T19:26:35.949Z] -rwxrwxr-x 1 jenkins jenkins 140 Jul 26 19:20 docker-entrypoint.sh [2023-07-26T19:26:35.949Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 26 19:20 docs [2023-07-26T19:26:35.949Z] -rw-rw-r-- 1 jenkins jenkins 3416 Jul 26 19:20 go.mod [2023-07-26T19:26:35.949Z] -rw-rw-r-- 1 jenkins jenkins 31482 Jul 26 19:20 go.sum [2023-07-26T19:26:35.949Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 26 19:20 internal [2023-07-26T19:26:35.949Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 26 19:20 snap [2023-07-26T19:26:35.949Z] -rw-rw-r-- 1 jenkins jenkins 231 Jul 26 19:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T19:26:36.278Z] + 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=1b29e38c626a799305ce08a5f8c743eb178f94a4 --label arch=arm64 --label version=0.0.0 . [2023-07-26T19:26:36.543Z] Sending build context to Docker daemon 1.275MB [2023-07-26T19:26:36.543Z] Step 1/36 : ARG BASE=golang:1.20-alpine3.17 [2023-07-26T19:26:36.543Z] Step 2/36 : FROM ${BASE} AS builder [2023-07-26T19:26:36.543Z] ---> 26d3c0a32f56 [2023-07-26T19:26:36.543Z] Step 3/36 : ARG ADD_BUILD_TAGS="" [2023-07-26T19:26:37.504Z] ---> Running in ffa6c73ce256 [2023-07-26T19:26:37.504Z] Removing intermediate container ffa6c73ce256 [2023-07-26T19:26:37.504Z] ---> 3298cd6ac12e [2023-07-26T19:26:37.504Z] Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-26T19:26:37.504Z] ---> Running in 16c6208e9a5a [2023-07-26T19:26:38.087Z] Removing intermediate container 16c6208e9a5a [2023-07-26T19:26:38.088Z] ---> f571d345eb34 [2023-07-26T19:26:38.088Z] Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-07-26T19:26:38.088Z] ---> Running in 4c2febf9f4b8 [2023-07-26T19:26:38.355Z] Removing intermediate container 4c2febf9f4b8 [2023-07-26T19:26:38.355Z] ---> 3f0ea68e2c7a [2023-07-26T19:26:38.355Z] Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-07-26T19:26:38.355Z] ---> Running in 818ceb32b2f8 [2023-07-26T19:26:38.624Z] Removing intermediate container 818ceb32b2f8 [2023-07-26T19:26:38.624Z] ---> 9ac19e3d335a [2023-07-26T19:26:38.624Z] Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-26T19:26:38.624Z] ---> Running in 6b32f54fd427 [2023-07-26T19:26:39.586Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-26T19:26:40.169Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-26T19:26:41.577Z] OK: 271 MiB in 67 packages [2023-07-26T19:26:42.160Z] Removing intermediate container 6b32f54fd427 [2023-07-26T19:26:42.160Z] ---> 77ac0a776492 [2023-07-26T19:26:42.160Z] Step 8/36 : WORKDIR /device-usb-camera [2023-07-26T19:26:42.430Z] ---> Running in 5443093ef648 [2023-07-26T19:26:42.698Z] Removing intermediate container 5443093ef648 [2023-07-26T19:26:42.698Z] ---> 78b2f8ecc521 [2023-07-26T19:26:42.698Z] Step 9/36 : COPY go.mod vendor* ./ [2023-07-26T19:26:42.972Z] ---> fe49e954dc74 [2023-07-26T19:26:42.972Z] Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-26T19:26:43.240Z] ---> Running in a445beee7c3c [2023-07-26T19:26:45.832Z] Removing intermediate container a445beee7c3c [2023-07-26T19:26:45.832Z] ---> c8c2926afd3f [2023-07-26T19:26:45.832Z] Step 11/36 : COPY . . [2023-07-26T19:26:46.788Z] ---> 7cf75a0be589 [2023-07-26T19:26:46.788Z] Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-07-26T19:26:46.788Z] ---> Running in ce03eb350aaf [2023-07-26T19:26:47.755Z]  % Total  % Received % Xferd Average Speed Time Time Time Current [2023-07-26T19:26:47.755Z]  Dload Upload Total Spent Left Speed [2023-07-26T19:26:48.023Z] 0 0 0 0 0 0 0  0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 2800 0 --:--:-- --:--:-- --:--:-- 2809 [2023-07-26T19:26:52.279Z] Removing intermediate container ce03eb350aaf [2023-07-26T19:26:52.279Z] ---> 545c142ef0dc [2023-07-26T19:26:52.279Z] Step 13/36 : RUN ${MAKE} [2023-07-26T19:26:52.279Z] ---> Running in f92aff7231a8 [2023-07-26T19:26:52.861Z] 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-26T19:29:29.572Z] Removing intermediate container f92aff7231a8 [2023-07-26T19:29:29.572Z] ---> a387fb17193d [2023-07-26T19:29:29.572Z] Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-07-26T19:29:29.572Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-07-26T19:29:29.572Z] 8766b47fe142: Pulling fs layer [2023-07-26T19:29:29.572Z] 8766b47fe142: Verifying Checksum [2023-07-26T19:29:29.572Z] 8766b47fe142: Download complete [2023-07-26T19:29:29.572Z] 8766b47fe142: Pull complete [2023-07-26T19:29:29.572Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-07-26T19:29:29.572Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-07-26T19:29:29.572Z] ---> 69d40e2cb93c [2023-07-26T19:29:29.572Z] Step 15/36 : FROM alpine:3.17 [2023-07-26T19:29:29.572Z] 3.17: Pulling from library/alpine [2023-07-26T19:29:29.572Z] edb6bdbacee9: Already exists [2023-07-26T19:29:29.572Z] Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 [2023-07-26T19:29:29.572Z] Status: Downloaded newer image for alpine:3.17 [2023-07-26T19:29:29.572Z] ---> 779605e5fbc0 [2023-07-26T19:29:29.572Z] Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-07-26T19:29:29.572Z] ---> Running in ad34e0323f39 [2023-07-26T19:29:29.572Z] Removing intermediate container ad34e0323f39 [2023-07-26T19:29:29.572Z] ---> d88272facab0 [2023-07-26T19:29:29.572Z] Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-07-26T19:29:29.572Z] ---> Running in bf2fb54ff875 [2023-07-26T19:29:29.572Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-26T19:29:29.572Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-26T19:29:29.572Z] (1/83) Installing dumb-init (1.2.5-r2) [2023-07-26T19:29:29.572Z] (2/83) Installing sdl2 (2.26.5-r0) [2023-07-26T19:29:29.572Z] (3/83) Installing libxau (1.0.10-r0) [2023-07-26T19:29:29.572Z] (4/83) Installing libmd (1.0.4-r0) [2023-07-26T19:29:29.572Z] (5/83) Installing libbsd (0.11.7-r0) [2023-07-26T19:29:29.572Z] (6/83) Installing libxdmcp (1.1.4-r0) [2023-07-26T19:29:29.572Z] (7/83) Installing libxcb (1.15-r0) [2023-07-26T19:29:29.572Z] (8/83) Installing libx11 (1.8.4-r1) [2023-07-26T19:29:29.572Z] (9/83) Installing aom-libs (3.5.0-r0) [2023-07-26T19:29:29.572Z] (10/83) Installing alsa-lib (1.2.8-r0) [2023-07-26T19:29:29.572Z] (11/83) Installing libexpat (2.5.0-r0) [2023-07-26T19:29:29.572Z] (12/83) Installing brotli-libs (1.0.9-r9) [2023-07-26T19:29:29.572Z] (13/83) Installing libbz2 (1.0.8-r4) [2023-07-26T19:29:29.572Z] (14/83) Installing libpng (1.6.38-r0) [2023-07-26T19:29:29.572Z] (15/83) Installing freetype (2.12.1-r0) [2023-07-26T19:29:29.572Z] (16/83) Installing fontconfig (2.14.1-r0) [2023-07-26T19:29:29.573Z] (17/83) Installing fribidi (1.0.12-r0) [2023-07-26T19:29:29.573Z] (18/83) Installing libffi (3.4.4-r0) [2023-07-26T19:29:29.573Z] (19/83) Installing libintl (0.21.1-r1) [2023-07-26T19:29:29.573Z] (20/83) Installing libblkid (2.38.1-r1) [2023-07-26T19:29:29.573Z] (21/83) Installing libmount (2.38.1-r1) [2023-07-26T19:29:29.573Z] (22/83) Installing pcre2 (10.42-r0) [2023-07-26T19:29:29.573Z] (23/83) Installing glib (2.74.7-r0) [2023-07-26T19:29:29.573Z] (24/83) Installing graphite2 (1.3.14-r2) [2023-07-26T19:29:29.573Z] (25/83) Installing harfbuzz (5.3.1-r1) [2023-07-26T19:29:29.573Z] (26/83) Installing libass (0.16.0-r1) [2023-07-26T19:29:29.573Z] (27/83) Installing libdav1d (1.0.0-r2) [2023-07-26T19:29:29.573Z] (28/83) Installing libdrm (2.4.114-r0) [2023-07-26T19:29:29.573Z] (29/83) Installing gmp (6.2.1-r2) [2023-07-26T19:29:29.573Z] (30/83) Installing nettle (3.8.1-r0) [2023-07-26T19:29:29.573Z] (31/83) Installing p11-kit (0.24.1-r1) [2023-07-26T19:29:29.573Z] (32/83) Installing libtasn1 (4.19.0-r0) [2023-07-26T19:29:29.573Z] (33/83) Installing libunistring (1.1-r0) [2023-07-26T19:29:29.573Z] (34/83) Installing gnutls (3.7.8-r3) [2023-07-26T19:29:29.573Z] (35/83) Installing ncurses-terminfo-base (6.3_p20221119-r1) [2023-07-26T19:29:29.573Z] (36/83) Installing ncurses-libs (6.3_p20221119-r1) [2023-07-26T19:29:29.573Z] (37/83) Installing lame (3.100-r2) [2023-07-26T19:29:29.573Z] (38/83) Installing opus (1.3.1-r1) [2023-07-26T19:29:29.573Z] (39/83) Installing libasyncns (0.8-r1) [2023-07-26T19:29:29.573Z] (40/83) Installing dbus-libs (1.14.8-r0) [2023-07-26T19:29:29.573Z] (41/83) Installing libltdl (2.4.7-r1) [2023-07-26T19:29:29.573Z] (42/83) Installing orc (0.4.33-r0) [2023-07-26T19:29:29.573Z] (43/83) Installing libgcc (12.2.1_git20220924-r4) [2023-07-26T19:29:29.573Z] (44/83) Installing libogg (1.3.5-r2) [2023-07-26T19:29:29.573Z] (45/83) Installing libstdc++ (12.2.1_git20220924-r4) [2023-07-26T19:29:29.573Z] (46/83) Installing flac-libs (1.4.2-r0) [2023-07-26T19:29:29.573Z] (47/83) Installing libvorbis (1.3.7-r0) [2023-07-26T19:29:29.573Z] (48/83) Installing libsndfile (1.1.0-r2) [2023-07-26T19:29:29.573Z] (49/83) Installing libgomp (12.2.1_git20220924-r4) [2023-07-26T19:29:29.573Z] (50/83) Installing soxr (0.1.3-r3) [2023-07-26T19:29:29.573Z] (51/83) Installing speexdsp (1.2.1-r0) [2023-07-26T19:29:29.573Z] (52/83) Installing tdb-libs (1.4.6-r0) [2023-07-26T19:29:29.573Z] (53/83) Installing libpulse (16.1-r6) [2023-07-26T19:29:29.573Z] (54/83) Installing cjson (1.7.15-r3) [2023-07-26T19:29:29.573Z] (55/83) Installing mbedtls (2.28.3-r0) [2023-07-26T19:29:29.573Z] (56/83) Installing librist (0.2.7-r0) [2023-07-26T19:29:29.573Z] (57/83) Installing libsrt (1.5.1-r0) [2023-07-26T19:29:29.573Z] (58/83) Installing libssh (0.10.5-r0) [2023-07-26T19:29:29.573Z] (59/83) Installing libtheora (1.1.1-r16) [2023-07-26T19:29:29.573Z] (60/83) Installing libjpeg-turbo (2.1.4-r0) [2023-07-26T19:29:29.573Z] (61/83) Installing v4l-utils-libs (1.22.1-r2) [2023-07-26T19:29:29.573Z] (62/83) Installing libxext (1.3.5-r0) [2023-07-26T19:29:29.573Z] (63/83) Installing libxfixes (6.0.0-r0) [2023-07-26T19:29:29.573Z] (64/83) Installing wayland-libs-client (1.21.0-r1) [2023-07-26T19:29:29.573Z] (65/83) Installing libva (2.16.0-r0) [2023-07-26T19:29:29.573Z] (66/83) Installing libvdpau (1.5-r0) [2023-07-26T19:29:29.573Z] (67/83) Installing vidstab (1.1.0-r2) [2023-07-26T19:29:29.573Z] (68/83) Installing libvpx (1.12.0-r1) [2023-07-26T19:29:29.573Z] (69/83) Installing libwebp (1.2.4-r2) [2023-07-26T19:29:29.573Z] (70/83) Installing x264-libs (0.164_git20220602-r0) [2023-07-26T19:29:29.573Z] (71/83) Installing numactl (2.0.16-r1) [2023-07-26T19:29:29.573Z] (72/83) Installing x265-libs (3.5-r3) [2023-07-26T19:29:29.573Z] (73/83) Installing xvidcore (1.3.7-r1) [2023-07-26T19:29:29.573Z] (74/83) Installing libsodium (1.0.18-r2) [2023-07-26T19:29:29.573Z] (75/83) Installing libzmq (4.3.4-r1) [2023-07-26T19:29:29.573Z] (76/83) Installing ffmpeg-libs (5.1.3-r0) [2023-07-26T19:29:29.573Z] (77/83) Installing ffmpeg (5.1.3-r0) [2023-07-26T19:29:29.573Z] (78/83) Installing udev-init-scripts (35-r1) [2023-07-26T19:29:29.573Z] (79/83) Installing eudev-libs (3.2.11-r4) [2023-07-26T19:29:29.573Z] (80/83) Installing xz-libs (5.2.9-r0) [2023-07-26T19:29:29.573Z] (81/83) Installing zstd-libs (1.5.5-r0) [2023-07-26T19:29:29.573Z] (82/83) Installing kmod-libs (30-r1) [2023-07-26T19:29:29.573Z] (83/83) Installing eudev (3.2.11-r4) [2023-07-26T19:29:29.573Z] Executing busybox-1.35.0-r29.trigger [2023-07-26T19:29:29.573Z] Executing eudev-3.2.11-r4.trigger [2023-07-26T19:29:29.573Z] OK: 86 MiB in 98 packages [2023-07-26T19:29:32.197Z] Removing intermediate container bf2fb54ff875 [2023-07-26T19:29:32.197Z] ---> 4fbf41a3cbb7 [2023-07-26T19:29:32.197Z] Step 18/36 : WORKDIR / [2023-07-26T19:29:32.197Z] ---> Running in 7da57fa62d9a [2023-07-26T19:29:32.197Z] Removing intermediate container 7da57fa62d9a [2023-07-26T19:29:32.197Z] ---> 304ef26e3a3d [2023-07-26T19:29:32.197Z] Step 19/36 : COPY --from=builder /device-usb-camera/cmd / [2023-07-26T19:29:36.441Z] ---> c5c75bcb8565 [2023-07-26T19:29:36.441Z] Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / [2023-07-26T19:29:36.441Z] ---> e61ebfb20dfe [2023-07-26T19:29:36.441Z] Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-07-26T19:29:36.708Z] ---> 14c21c59a041 [2023-07-26T19:29:36.708Z] Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-07-26T19:29:37.291Z] ---> 3cf61ed4f642 [2023-07-26T19:29:37.291Z] Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-07-26T19:29:37.557Z] ---> f5fde9f219a2 [2023-07-26T19:29:37.557Z] Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-07-26T19:29:38.141Z] ---> 8cd48e4af21c [2023-07-26T19:29:38.141Z] Step 25/36 : COPY --from=rtsp /rtsp-simple-server / [2023-07-26T19:29:39.547Z] ---> e82807607cde [2023-07-26T19:29:39.547Z] Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-07-26T19:29:39.547Z] ---> Running in 57a7a55e394c [2023-07-26T19:29:40.951Z] Removing intermediate container 57a7a55e394c [2023-07-26T19:29:40.951Z] ---> ad4e4f392c38 [2023-07-26T19:29:40.951Z] Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-07-26T19:29:41.219Z] ---> Running in 56bc7867c6d3 [2023-07-26T19:29:42.630Z] Removing intermediate container 56bc7867c6d3 [2023-07-26T19:29:42.630Z] ---> 0d264d1f2d64 [2023-07-26T19:29:42.630Z] Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-07-26T19:29:42.630Z] ---> Running in 8fc003fa4261 [2023-07-26T19:29:44.579Z] Removing intermediate container 8fc003fa4261 [2023-07-26T19:29:44.579Z] ---> 421081d4787d [2023-07-26T19:29:44.579Z] Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml [2023-07-26T19:29:44.579Z] ---> Running in 1fb5fa34f785 [2023-07-26T19:29:45.989Z] Removing intermediate container 1fb5fa34f785 [2023-07-26T19:29:45.989Z] ---> 8f3853c8d60e [2023-07-26T19:29:45.989Z] Step 30/36 : EXPOSE 59983 [2023-07-26T19:29:45.989Z] ---> Running in aaf7a5bea9ae [2023-07-26T19:29:46.325Z] Removing intermediate container aaf7a5bea9ae [2023-07-26T19:29:46.325Z] ---> 6b747584bae6 [2023-07-26T19:29:46.325Z] Step 31/36 : EXPOSE 8554 [2023-07-26T19:29:46.325Z] ---> Running in 2e68528c78cb [2023-07-26T19:29:46.604Z] Removing intermediate container 2e68528c78cb [2023-07-26T19:29:46.604Z] ---> 2a01c20e5b84 [2023-07-26T19:29:46.604Z] Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-07-26T19:29:46.604Z] ---> Running in 01adb01a3673 [2023-07-26T19:29:46.893Z] Removing intermediate container 01adb01a3673 [2023-07-26T19:29:46.893Z] ---> 4eae146d01d1 [2023-07-26T19:29:46.893Z] Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-07-26T19:29:47.165Z] ---> Running in 146f4613b3c2 [2023-07-26T19:29:47.442Z] Removing intermediate container 146f4613b3c2 [2023-07-26T19:29:47.442Z] ---> 20a3a6b3d599 [2023-07-26T19:29:47.442Z] Step 34/36 : LABEL arch=arm64 [2023-07-26T19:29:47.442Z] ---> Running in 88da29c24142 [2023-07-26T19:29:47.718Z] Removing intermediate container 88da29c24142 [2023-07-26T19:29:47.718Z] ---> eb25831ab5e8 [2023-07-26T19:29:47.718Z] Step 35/36 : LABEL git_sha=1b29e38c626a799305ce08a5f8c743eb178f94a4 [2023-07-26T19:29:47.718Z] ---> Running in 0eb53935e6f1 [2023-07-26T19:29:47.997Z] Removing intermediate container 0eb53935e6f1 [2023-07-26T19:29:47.997Z] ---> 7e5eb412d90b [2023-07-26T19:29:47.997Z] Step 36/36 : LABEL version=0.0.0 [2023-07-26T19:29:48.283Z] ---> Running in 38df74735e36 [2023-07-26T19:29:48.556Z] Removing intermediate container 38df74735e36 [2023-07-26T19:29:48.556Z] ---> 2ff69940e3b2 [2023-07-26T19:29:48.556Z] [Warning] One or more build-args [ARCH] were not consumed [2023-07-26T19:29:48.556Z] Successfully built 2ff69940e3b2 [2023-07-26T19:29:48.556Z] 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-26T19:29:49.027Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-26T19:29:49.027Z] [2023-07-26T19:29:49.027Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T19:29:49.363Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-26T19:29:49.363Z] arm64: Pulling from edgex-lftools-log-publisher [2023-07-26T19:29:49.363Z] 8998bd30e6a1: Pulling fs layer [2023-07-26T19:29:49.363Z] 04944245beec: Pulling fs layer [2023-07-26T19:29:49.363Z] 699f458cf7ca: Pulling fs layer [2023-07-26T19:29:49.363Z] 765212b225bb: Pulling fs layer [2023-07-26T19:29:49.363Z] f23df028b6ca: Pulling fs layer [2023-07-26T19:29:49.363Z] d65c8cfc05b1: Pulling fs layer [2023-07-26T19:29:49.363Z] 2437ff75d9bd: Pulling fs layer [2023-07-26T19:29:49.363Z] f23df028b6ca: Waiting [2023-07-26T19:29:49.363Z] d65c8cfc05b1: Waiting [2023-07-26T19:29:49.363Z] 2437ff75d9bd: Waiting [2023-07-26T19:29:49.363Z] 765212b225bb: Waiting [2023-07-26T19:29:49.635Z] 04944245beec: Verifying Checksum [2023-07-26T19:29:49.635Z] 04944245beec: Download complete [2023-07-26T19:29:49.635Z] 765212b225bb: Verifying Checksum [2023-07-26T19:29:49.635Z] 765212b225bb: Download complete [2023-07-26T19:29:49.635Z] f23df028b6ca: Verifying Checksum [2023-07-26T19:29:49.635Z] f23df028b6ca: Download complete [2023-07-26T19:29:49.635Z] d65c8cfc05b1: Verifying Checksum [2023-07-26T19:29:49.635Z] d65c8cfc05b1: Download complete [2023-07-26T19:29:49.635Z] 699f458cf7ca: Verifying Checksum [2023-07-26T19:29:49.635Z] 699f458cf7ca: Download complete [2023-07-26T19:29:50.224Z] 8998bd30e6a1: Verifying Checksum [2023-07-26T19:29:50.224Z] 8998bd30e6a1: Download complete [2023-07-26T19:29:52.808Z] 2437ff75d9bd: Verifying Checksum [2023-07-26T19:29:52.808Z] 2437ff75d9bd: Download complete [2023-07-26T19:29:54.219Z] 8998bd30e6a1: Pull complete [2023-07-26T19:29:54.485Z] 04944245beec: Pull complete [2023-07-26T19:29:55.891Z] 699f458cf7ca: Pull complete [2023-07-26T19:29:56.159Z] 765212b225bb: Pull complete [2023-07-26T19:29:56.744Z] f23df028b6ca: Pull complete [2023-07-26T19:29:57.011Z] d65c8cfc05b1: Pull complete [2023-07-26T19:30:12.008Z] 2437ff75d9bd: Pull complete [2023-07-26T19:30:12.008Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-07-26T19:30:12.008Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-26T19:30:12.008Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-26T19:30:12.204Z] prd-ubuntu20.04-docker-arm64-4c-16g-2270 does not seem to be running inside a container [2023-07-26T19:30:12.271Z] $ 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/25 -v /w/workspace/device-usb-camera/25:/w/workspace/device-usb-camera/25:rw,z -v /w/workspace/device-usb-camera/25@tmp:/w/workspace/device-usb-camera/25@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-07-26T19:30:14.880Z] $ docker top 16366aa9f0862fd71c21b7b7db347f9774493f380be070ac53f8a38ae25cd62b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-26T19:30:15.393Z] ---> job-cost.sh [2023-07-26T19:30:15.660Z] lf-activate-venv: SKIPPING [2023-07-26T19:30:15.660Z] INFO: No Stack... [2023-07-26T19:30:16.241Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-07-26T19:30:16.821Z] INFO: Archiving Costs [Pipeline] sh [2023-07-26T19:30:17.140Z] + + cat /w/workspace/device-usb-camera/25/archives/cost.csv [2023-07-26T19:30:17.140Z] cut -d, -f6 [Pipeline] lock [2023-07-26T19:30:17.201Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-265-25-stack-cost] [2023-07-26T19:30:17.207Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-265-25-stack-cost] did not exist. Created. [2023-07-26T19:30:17.207Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-265-25-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-26T19:30:17.536Z] /w/workspace/device-usb-camera/25@tmp/durable-b045bbfc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-07-26T19:30:17.872Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-07-26T19:30:18.161Z] Warning: overwriting stash ‘stack-cost’ [2023-07-26T19:30:18.216Z] Stashed 1 file(s) [Pipeline] } [2023-07-26T19:30:18.226Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-265-25-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-26T19:30:18.248Z] $ docker stop --time=1 16366aa9f0862fd71c21b7b7db347f9774493f380be070ac53f8a38ae25cd62b [2023-07-26T19:30:19.780Z] $ docker rm -f --volumes 16366aa9f0862fd71c21b7b7db347f9774493f380be070ac53f8a38ae25cd62b [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-26T19:30:20.219Z] provisioning config files... [2023-07-26T19:30:20.227Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-265@tmp/config12400999308602427728tmp [Pipeline] { [Pipeline] sh [2023-07-26T19:30:20.521Z] + set +x [2023-07-26T19:30:20.521Z] + curl -s https://codecov.io/bash [2023-07-26T19:30:20.521Z] + bash -s -- [2023-07-26T19:30:20.521Z] [2023-07-26T19:30:20.521Z] _____ _ [2023-07-26T19:30:20.521Z] / ____| | | [2023-07-26T19:30:20.521Z] | | ___ __| | ___ ___ _____ __ [2023-07-26T19:30:20.521Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-07-26T19:30:20.521Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-07-26T19:30:20.521Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-07-26T19:30:20.521Z] Bash-1.0.6 [2023-07-26T19:30:20.521Z] [2023-07-26T19:30:20.521Z] [2023-07-26T19:30:20.521Z] ==> git version 2.25.1 found [2023-07-26T19:30:20.521Z] ==> 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-26T19:30:20.521Z] Release-Date: 2020-01-08 [2023-07-26T19:30:20.521Z] 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-26T19:30:20.521Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-07-26T19:30:20.521Z] ==> Jenkins CI detected. [2023-07-26T19:30:20.521Z] current dir:  /w/workspace/foundry_device-usb-camera_PR-265 [2023-07-26T19:30:20.521Z] project root: . [2023-07-26T19:30:20.521Z] --> token set from env [2023-07-26T19:30:20.521Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-07-26T19:30:20.521Z] ==> Running gcov in . (disable via -X gcov) [2023-07-26T19:30:20.521Z] ==> Python coveragepy not found [2023-07-26T19:30:20.521Z] ==> Searching for coverage reports in: [2023-07-26T19:30:20.521Z] + . [2023-07-26T19:30:20.521Z] -> Found 1 reports [2023-07-26T19:30:20.521Z] ==> Detecting git/mercurial file structure [2023-07-26T19:30:20.521Z] ==> Reading reports [2023-07-26T19:30:20.521Z] + ./coverage.out bytes=43358 [2023-07-26T19:30:20.521Z] ==> Appending adjustments [2023-07-26T19:30:20.521Z] https://docs.codecov.io/docs/fixing-reports [2023-07-26T19:30:20.780Z] + Found adjustments [2023-07-26T19:30:20.780Z] ==> Gzipping contents [2023-07-26T19:30:20.780Z] 8.0K /tmp/codecov.uekXAL.gz [2023-07-26T19:30:20.780Z] ==> Uploading reports [2023-07-26T19:30:20.780Z] url: https://codecov.io [2023-07-26T19:30:20.780Z] query: branch=PR-265&commit=1b29e38c626a799305ce08a5f8c743eb178f94a4&build=25&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-265%2F25%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=265&job=&cmd_args= [2023-07-26T19:30:20.780Z] -> Pinging Codecov [2023-07-26T19:30:20.780Z] 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=1b29e38c626a799305ce08a5f8c743eb178f94a4&build=25&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-265%2F25%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=265&job=&cmd_args= [2023-07-26T19:30:21.040Z] -> Uploading to [2023-07-26T19:30:21.040Z] https://storage.googleapis.com/codecov/v4/raw/2023-07-26/73D8F5FF140700D3E01443B452E23636/1b29e38c626a799305ce08a5f8c743eb178f94a4/d495fcbf-2900-40b9-bac2-4e598f5908dd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230726%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230726T193020Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9c2766daabd4acc524f6e699c1337c7bb6e8ac6508d08474def95aa891e8708f [2023-07-26T19:30:21.040Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-26T19:30:21.040Z] Dload Upload Total Spent Left Speed [2023-07-26T19:30:21.299Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5739 0 0 100 5739 0 19789 --:--:-- --:--:-- --:--:-- 19789 [2023-07-26T19:30:21.299Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/1b29e38c626a799305ce08a5f8c743eb178f94a4 [Pipeline] } [2023-07-26T19:30:21.306Z] 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-26T19:30:22.098Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-265/archives ] [2023-07-26T19:30:22.098Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-265/archives [2023-07-26T19:30:22.098Z] total 16 [2023-07-26T19:30:22.098Z] drwxr-xr-x 3 root root 4096 Jul 26 19:19 . [2023-07-26T19:30:22.098Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 26 19:19 .. [2023-07-26T19:30:22.098Z] drwxr-xr-x 2 root root 4096 Jul 26 19:19 cost [2023-07-26T19:30:22.098Z] -rw-r--r-- 1 root root 90 Jul 26 19:19 cost.csv [2023-07-26T19:30:22.098Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-265/archives [2023-07-26T19:30:22.098Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-265/archives [2023-07-26T19:30:22.098Z] total 16 [2023-07-26T19:30:22.098Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 26 19:19 . [2023-07-26T19:30:22.098Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 26 19:19 .. [2023-07-26T19:30:22.098Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 26 19:19 cost [2023-07-26T19:30:22.098Z] -rw-r--r-- 1 jenkins jenkins 90 Jul 26 19:19 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-07-26T19:30:22.390Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-26T19:30:23.244Z] ---> package-listing.sh [2023-07-26T19:30:23.244Z] ++ tr '[:upper:]' '[:lower:]' [2023-07-26T19:30:23.244Z] ++ facter osfamily [2023-07-26T19:30:23.503Z] + OS_FAMILY=debian [2023-07-26T19:30:23.503Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-265 [2023-07-26T19:30:23.503Z] + START_PACKAGES=/tmp/packages_start.txt [2023-07-26T19:30:23.503Z] + END_PACKAGES=/tmp/packages_end.txt [2023-07-26T19:30:23.503Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-07-26T19:30:23.503Z] + PACKAGES=/tmp/packages_start.txt [2023-07-26T19:30:23.503Z] + '[' /w/workspace/foundry_device-usb-camera_PR-265 ']' [2023-07-26T19:30:23.503Z] + PACKAGES=/tmp/packages_end.txt [2023-07-26T19:30:23.503Z] + case "${OS_FAMILY}" in [2023-07-26T19:30:23.503Z] + dpkg -l [2023-07-26T19:30:23.503Z] + grep '^ii' [2023-07-26T19:30:23.503Z] + '[' -f /tmp/packages_start.txt ']' [2023-07-26T19:30:23.503Z] + '[' -f /tmp/packages_end.txt ']' [2023-07-26T19:30:23.503Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-07-26T19:30:23.503Z] + '[' /w/workspace/foundry_device-usb-camera_PR-265 ']' [2023-07-26T19:30:23.503Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-265/archives/ [2023-07-26T19:30:23.503Z] + 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-26T19:30:23.512Z] 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-26T19:30:23.788Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T19:30:24.343Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-26T19:30:24.343Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-26T19:30:24.410Z] prd-ubuntu20.04-docker-8c-8g-2268 does not seem to be running inside a container [2023-07-26T19:30:24.450Z] $ 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-26T19:30:24.637Z] $ docker top 6c6dbc8ed69ab24cf20c351363c4f2fec967e47e123333c17a351c2f9e600f80 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-26T19:30:24.969Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-07-26T19:30:25.250Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-07-26T19:30:25.534Z] + ls /var/log/sa-host [2023-07-26T19:30:25.534Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-26T19:30:25.683Z] provisioning config files... [2023-07-26T19:30:25.691Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-265@tmp/config2991936062201365259tmp [Pipeline] { [Pipeline] echo [2023-07-26T19:30:25.707Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-26T19:30:25.985Z] ---> create-netrc.sh [Pipeline] } [2023-07-26T19:30:25.992Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-07-26T19:30:26.331Z] ---> python-tools-install.sh [Pipeline] echo [2023-07-26T19:30:26.341Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-26T19:30:26.626Z] ---> sudo-logs.sh [2023-07-26T19:30:26.626Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-07-26T19:30:26.655Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-26T19:30:26.936Z] ---> job-cost.sh [2023-07-26T19:30:26.936Z] lf-activate-venv: SKIPPING [2023-07-26T19:30:26.936Z] DEBUG: total: 0.2199999988079071 [2023-07-26T19:30:26.936Z] INFO: Retrieving Stack Cost... [2023-07-26T19:30:27.503Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-26T19:30:27.762Z] INFO: Archiving Costs [Pipeline] echo [2023-07-26T19:30:27.773Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-26T19:30:28.053Z] ---> logs-deploy.sh [2023-07-26T19:30:28.053Z] lf-activate-venv: SKIPPING [2023-07-26T19:30:28.053Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-265/25 [2023-07-26T19:30:28.053Z] INFO: archiving workspace using pattern(s): [2023-07-26T19:30:28.983Z] Archives upload complete. [2023-07-26T19:30:28.984Z] INFO: archiving logs to Nexus