Pull request #107 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-usb-camera Obtained Jenkinsfile from 345b3c5613ae76c94415a58ddb707d834bfcb682+2737b4a4757873c341a4cc117393b3c94d892178 (e3b854dbe70d1328dac48f657672f3712e205d8f) 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-ssh4152511239595171043.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh6345470579978723400.key Verifying host key using known hosts file > 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 6c1167a966ce7273a24629bf6583a1975ad218c3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-107/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-107/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh402581218336365061.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-107/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11991609255091982025.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8121952418990028993.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-107/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-107/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8981472005511991639.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 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.18 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-116806 in /w/workspace/foundry_device-usb-camera_PR-107 [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-107 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/107/head:refs/remotes/origin/PR-107 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 2737b4a4757873c341a4cc117393b3c94d892178 into PR head commit 345b3c5613ae76c94415a58ddb707d834bfcb682 Merge succeeded, producing 345b3c5613ae76c94415a58ddb707d834bfcb682 Checking out Revision 345b3c5613ae76c94415a58ddb707d834bfcb682 (PR-107) > git config core.sparsecheckout # timeout=10 > git checkout -f 345b3c5613ae76c94415a58ddb707d834bfcb682 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 2737b4a4757873c341a4cc117393b3c94d892178 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 345b3c5613ae76c94415a58ddb707d834bfcb682 # timeout=10 Commit message: "fix: update command request and response topic" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-25T08:19:54.022Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-25T08:19:54.200Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-25T08:19:54.306Z] ========================================================= [2022-10-25T08:19:54.306Z] EdgeX Global Pipelines Version Info [2022-10-25T08:19:54.306Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-25T08:19:55.075Z] ------------------- [2022-10-25T08:19:55.075Z] stable info: [2022-10-25T08:19:55.075Z] ------------------- [2022-10-25T08:19:55.075Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-25T08:19:55.075Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-25T08:19:55.075Z] Message: update stable to v1.0.243 [2022-10-25T08:19:55.651Z] ------------------- [2022-10-25T08:19:55.651Z] experimental info: [2022-10-25T08:19:55.651Z] ------------------- [2022-10-25T08:19:55.651Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-25T08:19:55.651Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-25T08:19:55.651Z] Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-25T08:19:55.963Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2022-10-25T08:19:56.006Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2022-10-25T08:19:56.043Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-25T08:19:56.086Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-25T08:19:56.126Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-25T08:19:56.168Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-25T08:19:56.210Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-25T08:19:56.254Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-25T08:19:56.295Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-25T08:19:56.349Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-25T08:19:56.394Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-25T08:19:56.437Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2022-10-25T08:19:56.478Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-25T08:19:56.518Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-25T08:19:56.558Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-25T08:19:56.599Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-25T08:19:56.640Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-25T08:19:56.681Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-25T08:19:56.724Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-25T08:19:56.763Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-25T08:19:56.803Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-10-25T08:19:56.848Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-10-25T08:19:56.889Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-25T08:19:56.932Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-25T08:19:56.980Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-25T08:19:57.023Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-25T08:19:57.071Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-25T08:19:57.108Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-107 [Pipeline] echo [2022-10-25T08:19:57.146Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-107 [Pipeline] echo [2022-10-25T08:19:57.185Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-107 [Pipeline] echo [2022-10-25T08:19:57.224Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 345b3c5613ae76c94415a58ddb707d834bfcb682 [Pipeline] echo [2022-10-25T08:19:57.260Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 345b3c5 [Pipeline] echo [2022-10-25T08:19:57.295Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-25T08:19:57.412Z] provisioning config files... [2022-10-25T08:19:57.430Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-107@tmp/config16642378060200912024tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T08:19:57.782Z] ---> docker-login.sh [2022-10-25T08:19:57.782Z] nexus3.edgexfoundry.org:10001 [2022-10-25T08:19:57.782Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T08:19:58.042Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T08:19:58.042Z] Configure a credential helper to remove this warning. See [2022-10-25T08:19:58.042Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T08:19:58.042Z] [2022-10-25T08:19:58.042Z] Login Succeeded [2022-10-25T08:19:58.042Z] nexus3.edgexfoundry.org:10002 [2022-10-25T08:19:58.042Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T08:19:58.042Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T08:19:58.042Z] Configure a credential helper to remove this warning. See [2022-10-25T08:19:58.042Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T08:19:58.042Z] [2022-10-25T08:19:58.042Z] Login Succeeded [2022-10-25T08:19:58.042Z] nexus3.edgexfoundry.org:10003 [2022-10-25T08:19:58.042Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T08:19:58.304Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T08:19:58.304Z] Configure a credential helper to remove this warning. See [2022-10-25T08:19:58.304Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T08:19:58.304Z] [2022-10-25T08:19:58.304Z] Login Succeeded [2022-10-25T08:19:58.304Z] nexus3.edgexfoundry.org:10004 [2022-10-25T08:19:58.304Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T08:19:58.304Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T08:19:58.304Z] Configure a credential helper to remove this warning. See [2022-10-25T08:19:58.304Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T08:19:58.304Z] [2022-10-25T08:19:58.304Z] Login Succeeded [2022-10-25T08:19:58.304Z] docker.io [2022-10-25T08:19:58.304Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T08:19:58.877Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T08:19:58.877Z] Configure a credential helper to remove this warning. See [2022-10-25T08:19:58.877Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T08:19:58.877Z] [2022-10-25T08:19:58.877Z] Login Succeeded [2022-10-25T08:19:58.877Z] ---> docker-login.sh ends [Pipeline] } [2022-10-25T08:19:58.904Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-25T08:19:59.511Z] + git rev-list -1 --merges 345b3c5613ae76c94415a58ddb707d834bfcb682~1..345b3c5613ae76c94415a58ddb707d834bfcb682 [Pipeline] echo [2022-10-25T08:19:59.696Z] -----------> git rev-list -1 --merges 345b3c5613ae76c94415a58ddb707d834bfcb682~1..345b3c5613ae76c94415a58ddb707d834bfcb682 345b3c5613ae76c94415a58ddb707d834bfcb682 [false] [Pipeline] sh [2022-10-25T08:20:00.024Z] + git log --format=format:%s -1 345b3c5613ae76c94415a58ddb707d834bfcb682 [Pipeline] echo [2022-10-25T08:20:00.063Z] ========================================================= [2022-10-25T08:20:00.063Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-25T08:20:00.063Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-25T08:20:00.499Z] + git log --format=format:%s -1 345b3c5613ae76c94415a58ddb707d834bfcb682 [Pipeline] echo [2022-10-25T08:20:00.529Z] [semverPrep] GIT_COMMIT: 345b3c5613ae76c94415a58ddb707d834bfcb682, Commit Message: fix: update command request and response topic [Pipeline] echo [2022-10-25T08:20:00.559Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-25T08:20:00.925Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-25T08:20:00.925Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-25T08:20:00.925Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-25T08:20:00.925Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-25T08:20:00.925Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-25T08:20:00.925Z] sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-25T08:20:00.925Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T08:20:01.355Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-25T08:20:01.355Z] [2022-10-25T08:20:01.355Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T08:20:01.746Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-25T08:20:01.746Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-25T08:20:01.746Z] b85a868b505f: Pulling fs layer [2022-10-25T08:20:01.746Z] e2be974225ed: Pulling fs layer [2022-10-25T08:20:01.746Z] 339a4e72a1f5: Pulling fs layer [2022-10-25T08:20:01.746Z] 988bab9f4d93: Pulling fs layer [2022-10-25T08:20:01.746Z] 1469e6f7b9e6: Pulling fs layer [2022-10-25T08:20:01.746Z] eaf3925da568: Pulling fs layer [2022-10-25T08:20:01.746Z] bab4dde63d76: Pulling fs layer [2022-10-25T08:20:01.746Z] bde34c3a00c8: Pulling fs layer [2022-10-25T08:20:01.746Z] b352a97aabf1: Pulling fs layer [2022-10-25T08:20:01.746Z] 4872d77fe225: Pulling fs layer [2022-10-25T08:20:01.746Z] 5851b861e8e6: Pulling fs layer [2022-10-25T08:20:01.746Z] 1469e6f7b9e6: Waiting [2022-10-25T08:20:01.746Z] eaf3925da568: Waiting [2022-10-25T08:20:01.746Z] bab4dde63d76: Waiting [2022-10-25T08:20:01.746Z] bde34c3a00c8: Waiting [2022-10-25T08:20:01.746Z] b352a97aabf1: Waiting [2022-10-25T08:20:01.746Z] 4872d77fe225: Waiting [2022-10-25T08:20:01.746Z] 5851b861e8e6: Waiting [2022-10-25T08:20:01.746Z] 988bab9f4d93: Waiting [2022-10-25T08:20:01.746Z] e2be974225ed: Verifying Checksum [2022-10-25T08:20:01.746Z] e2be974225ed: Download complete [2022-10-25T08:20:01.746Z] 988bab9f4d93: Download complete [2022-10-25T08:20:02.008Z] 1469e6f7b9e6: Verifying Checksum [2022-10-25T08:20:02.008Z] 1469e6f7b9e6: Download complete [2022-10-25T08:20:02.008Z] 339a4e72a1f5: Verifying Checksum [2022-10-25T08:20:02.008Z] 339a4e72a1f5: Download complete [2022-10-25T08:20:02.008Z] eaf3925da568: Verifying Checksum [2022-10-25T08:20:02.008Z] eaf3925da568: Download complete [2022-10-25T08:20:02.008Z] bde34c3a00c8: Download complete [2022-10-25T08:20:02.008Z] b352a97aabf1: Download complete [2022-10-25T08:20:02.008Z] 4872d77fe225: Verifying Checksum [2022-10-25T08:20:02.008Z] 4872d77fe225: Download complete [2022-10-25T08:20:02.008Z] 5851b861e8e6: Verifying Checksum [2022-10-25T08:20:02.008Z] 5851b861e8e6: Download complete [2022-10-25T08:20:02.267Z] b85a868b505f: Verifying Checksum [2022-10-25T08:20:02.267Z] b85a868b505f: Download complete [2022-10-25T08:20:02.526Z] bab4dde63d76: Verifying Checksum [2022-10-25T08:20:02.526Z] bab4dde63d76: Download complete [2022-10-25T08:20:03.462Z] b85a868b505f: Pull complete [2022-10-25T08:20:03.462Z] e2be974225ed: Pull complete [2022-10-25T08:20:04.027Z] 339a4e72a1f5: Pull complete [2022-10-25T08:20:04.027Z] 988bab9f4d93: Pull complete [2022-10-25T08:20:04.286Z] 1469e6f7b9e6: Pull complete [2022-10-25T08:20:04.286Z] eaf3925da568: Pull complete [2022-10-25T08:20:06.190Z] bab4dde63d76: Pull complete [2022-10-25T08:20:06.190Z] bde34c3a00c8: Pull complete [2022-10-25T08:20:06.190Z] b352a97aabf1: Pull complete [2022-10-25T08:20:06.190Z] 4872d77fe225: Pull complete [2022-10-25T08:20:06.190Z] 5851b861e8e6: Pull complete [2022-10-25T08:20:06.190Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-25T08:20:06.190Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-25T08:20:06.190Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T08:20:06.407Z] prd-ubuntu20.04-docker-8c-8g-116806 does not seem to be running inside a container [2022-10-25T08:20:06.442Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-107 -v /w/workspace/foundry_device-usb-camera_PR-107:/w/workspace/foundry_device-usb-camera_PR-107:rw,z -v /w/workspace/foundry_device-usb-camera_PR-107@tmp:/w/workspace/foundry_device-usb-camera_PR-107@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-25T08:20:08.172Z] $ docker top e9aaffadf9e119b519cc43eb70e778cad077df6fde83a7bb6f67d62085776ad4 -eo pid,comm [2022-10-25T08:20:08.220Z] 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). [2022-10-25T08:20:08.220Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-25T08:20:08.347Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-25T08:20:08.347Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-25T08:20:08.463Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-25T08:20:08.469Z] $ docker exec e9aaffadf9e119b519cc43eb70e778cad077df6fde83a7bb6f67d62085776ad4 ssh-agent [2022-10-25T08:20:08.572Z] SSH_AUTH_SOCK=/tmp/ssh-Engjfk5AvUJo/agent.34 [2022-10-25T08:20:08.572Z] SSH_AGENT_PID=40 [2022-10-25T08:20:08.578Z] Running ssh-add (command line suppressed) [2022-10-25T08:20:08.696Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-107@tmp/private_key_10032735404484101103.key (/w/workspace/foundry_device-usb-camera_PR-107@tmp/private_key_10032735404484101103.key) [2022-10-25T08:20:08.707Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-25T08:20:09.036Z] + git tag --points-at HEAD [Pipeline] } [2022-10-25T08:20:09.066Z] $ docker exec --env ******** --env ******** e9aaffadf9e119b519cc43eb70e778cad077df6fde83a7bb6f67d62085776ad4 ssh-agent -k [2022-10-25T08:20:09.158Z] unset SSH_AUTH_SOCK; [2022-10-25T08:20:09.158Z] unset SSH_AGENT_PID; [2022-10-25T08:20:09.158Z] echo Agent pid 40 killed; [2022-10-25T08:20:09.166Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-25T08:20:09.252Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-25T08:20:09.252Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-25T08:20:09.361Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-25T08:20:09.366Z] $ docker exec e9aaffadf9e119b519cc43eb70e778cad077df6fde83a7bb6f67d62085776ad4 ssh-agent [2022-10-25T08:20:09.469Z] SSH_AUTH_SOCK=/tmp/ssh-xSOjoEcolLW7/agent.72 [2022-10-25T08:20:09.469Z] SSH_AGENT_PID=78 [2022-10-25T08:20:09.473Z] Running ssh-add (command line suppressed) [2022-10-25T08:20:09.574Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-107@tmp/private_key_13353867885423959842.key (/w/workspace/foundry_device-usb-camera_PR-107@tmp/private_key_13353867885423959842.key) [2022-10-25T08:20:09.586Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-25T08:20:09.918Z] + git semver init [2022-10-25T08:20:10.178Z] 2022-10-25 08:20:10,085 [run_init] DEBUG init version:0.0.0 force:False [2022-10-25T08:20:10.178Z] 2022-10-25 08:20:10,085 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-107/.semver [2022-10-25T08:20:10.178Z] 2022-10-25 08:20:10,086 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-107/.semver [2022-10-25T08:20:10.178Z] 2022-10-25 08:20:10,086 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-107/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-107, universal_newlines=False, shell=None, istream=None) [2022-10-25T08:20:11.118Z] 2022-10-25 08:20:10,872 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-107/.git/info/exclude [2022-10-25T08:20:11.118Z] 2022-10-25 08:20:10,872 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-107/.semver/PR-107 with force:False [2022-10-25T08:20:11.118Z] 2022-10-25 08:20:10,872 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-107/.semver/PR-107 [2022-10-25T08:20:11.118Z] 2022-10-25 08:20:10,876 [execute] INFO git cat-file --batch-check [2022-10-25T08:20:11.118Z] 2022-10-25 08:20:10,876 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-107/.semver, universal_newlines=False, shell=None, istream=) [2022-10-25T08:20:11.118Z] 2022-10-25 08:20:10,882 [execute] INFO git cat-file --batch [2022-10-25T08:20:11.118Z] 2022-10-25 08:20:10,882 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-107/.semver, universal_newlines=False, shell=None, istream=) [2022-10-25T08:20:11.118Z] 2022-10-25 08:20:10,885 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-107/.semver/PR-107 [2022-10-25T08:20:11.118Z] 0.0.0 [Pipeline] } [2022-10-25T08:20:11.148Z] $ docker exec --env ******** --env ******** e9aaffadf9e119b519cc43eb70e778cad077df6fde83a7bb6f67d62085776ad4 ssh-agent -k [2022-10-25T08:20:11.250Z] unset SSH_AUTH_SOCK; [2022-10-25T08:20:11.251Z] unset SSH_AGENT_PID; [2022-10-25T08:20:11.251Z] echo Agent pid 78 killed; [2022-10-25T08:20:11.258Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-25T08:20:11.689Z] + git semver [Pipeline] } [2022-10-25T08:20:11.975Z] $ docker stop --time=1 e9aaffadf9e119b519cc43eb70e778cad077df6fde83a7bb6f67d62085776ad4 [2022-10-25T08:20:13.303Z] $ docker rm -f e9aaffadf9e119b519cc43eb70e778cad077df6fde83a7bb6f67d62085776ad4 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-25T08:20:13.708Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-25T08:20:13.943Z] Stashed 1 file(s) [Pipeline] echo [2022-10-25T08:20:13.961Z] [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 [2022-10-25T08:20:14.539Z] provisioning config files... [2022-10-25T08:20:14.549Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-107@tmp/config8854459924546177009tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T08:20:14.893Z] ---> docker-login.sh [2022-10-25T08:20:14.893Z] nexus3.edgexfoundry.org:10001 [2022-10-25T08:20:14.893Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T08:20:14.893Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T08:20:14.893Z] Configure a credential helper to remove this warning. See [2022-10-25T08:20:14.893Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T08:20:14.893Z] [2022-10-25T08:20:14.893Z] Login Succeeded [2022-10-25T08:20:14.893Z] nexus3.edgexfoundry.org:10002 [2022-10-25T08:20:14.893Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T08:20:14.893Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T08:20:14.893Z] Configure a credential helper to remove this warning. See [2022-10-25T08:20:14.893Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T08:20:14.893Z] [2022-10-25T08:20:14.893Z] Login Succeeded [2022-10-25T08:20:14.893Z] nexus3.edgexfoundry.org:10003 [2022-10-25T08:20:15.156Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T08:20:15.156Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T08:20:15.156Z] Configure a credential helper to remove this warning. See [2022-10-25T08:20:15.156Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T08:20:15.156Z] [2022-10-25T08:20:15.156Z] Login Succeeded [2022-10-25T08:20:15.156Z] nexus3.edgexfoundry.org:10004 [2022-10-25T08:20:15.156Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T08:20:15.156Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T08:20:15.156Z] Configure a credential helper to remove this warning. See [2022-10-25T08:20:15.156Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T08:20:15.156Z] [2022-10-25T08:20:15.156Z] Login Succeeded [2022-10-25T08:20:15.156Z] docker.io [2022-10-25T08:20:15.422Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T08:20:15.682Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T08:20:15.682Z] Configure a credential helper to remove this warning. See [2022-10-25T08:20:15.682Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T08:20:15.682Z] [2022-10-25T08:20:15.682Z] Login Succeeded [2022-10-25T08:20:15.682Z] ---> docker-login.sh ends [Pipeline] } [2022-10-25T08:20:15.708Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-25T08:20:15.902Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-25T08:20:15.937Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-25T08:20:15.973Z] ========================================================= [2022-10-25T08:20:15.973Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-25T08:20:15.973Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T08:20:16.445Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-25T08:20:16.445Z] Sending build context to Docker daemon 1.559MB [2022-10-25T08:20:16.445Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-25T08:20:16.445Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-25T08:20:16.445Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-25T08:20:16.445Z] 213ec9aee27d: Pulling fs layer [2022-10-25T08:20:16.445Z] 4583459ba037: Pulling fs layer [2022-10-25T08:20:16.445Z] 93c1e223e6f2: Pulling fs layer [2022-10-25T08:20:16.445Z] 53926ce57604: Pulling fs layer [2022-10-25T08:20:16.445Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-25T08:20:16.445Z] 30f14e443154: Pulling fs layer [2022-10-25T08:20:16.445Z] 801331c1e519: Pulling fs layer [2022-10-25T08:20:16.445Z] 99cc6dd402b0: Pulling fs layer [2022-10-25T08:20:16.445Z] 7d9ed39f4882: Pulling fs layer [2022-10-25T08:20:16.445Z] 30f14e443154: Waiting [2022-10-25T08:20:16.445Z] 801331c1e519: Waiting [2022-10-25T08:20:16.445Z] 99cc6dd402b0: Waiting [2022-10-25T08:20:16.445Z] 7d9ed39f4882: Waiting [2022-10-25T08:20:16.445Z] 53926ce57604: Waiting [2022-10-25T08:20:16.445Z] 21b2b0c7a3f4: Waiting [2022-10-25T08:20:16.445Z] 93c1e223e6f2: Verifying Checksum [2022-10-25T08:20:16.445Z] 93c1e223e6f2: Download complete [2022-10-25T08:20:16.445Z] 4583459ba037: Download complete [2022-10-25T08:20:16.445Z] 21b2b0c7a3f4: Verifying Checksum [2022-10-25T08:20:16.445Z] 21b2b0c7a3f4: Download complete [2022-10-25T08:20:16.445Z] 30f14e443154: Verifying Checksum [2022-10-25T08:20:16.445Z] 30f14e443154: Download complete [2022-10-25T08:20:16.706Z] 213ec9aee27d: Verifying Checksum [2022-10-25T08:20:16.706Z] 213ec9aee27d: Download complete [2022-10-25T08:20:16.706Z] 801331c1e519: Verifying Checksum [2022-10-25T08:20:16.706Z] 801331c1e519: Download complete [2022-10-25T08:20:16.706Z] 213ec9aee27d: Pull complete [2022-10-25T08:20:16.969Z] 4583459ba037: Pull complete [2022-10-25T08:20:16.969Z] 93c1e223e6f2: Pull complete [2022-10-25T08:20:17.229Z] 7d9ed39f4882: Verifying Checksum [2022-10-25T08:20:17.229Z] 7d9ed39f4882: Download complete [2022-10-25T08:20:17.229Z] 99cc6dd402b0: Verifying Checksum [2022-10-25T08:20:17.229Z] 99cc6dd402b0: Download complete [2022-10-25T08:20:17.490Z] 53926ce57604: Verifying Checksum [2022-10-25T08:20:17.490Z] 53926ce57604: Download complete [2022-10-25T08:20:20.775Z] 53926ce57604: Pull complete [2022-10-25T08:20:21.032Z] 21b2b0c7a3f4: Pull complete [2022-10-25T08:20:21.032Z] 30f14e443154: Pull complete [2022-10-25T08:20:21.032Z] 801331c1e519: Pull complete [2022-10-25T08:20:22.942Z] 99cc6dd402b0: Pull complete [2022-10-25T08:20:23.876Z] 7d9ed39f4882: Pull complete [2022-10-25T08:20:23.876Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-25T08:20:23.876Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-25T08:20:23.876Z] ---> 1dedd983c030 [2022-10-25T08:20:23.876Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-25T08:20:26.417Z] ---> Running in 159bc37fce4c [2022-10-25T08:20:26.417Z] Removing intermediate container 159bc37fce4c [2022-10-25T08:20:26.418Z] ---> b72f4fa15723 [2022-10-25T08:20:26.418Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-25T08:20:26.418Z] ---> Running in 4ae646f63881 [2022-10-25T08:20:26.418Z] Removing intermediate container 4ae646f63881 [2022-10-25T08:20:26.418Z] ---> 1d63f57b78f1 [2022-10-25T08:20:26.418Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" [2022-10-25T08:20:26.418Z] ---> Running in ecfcf18396a4 [2022-10-25T08:20:26.418Z] Removing intermediate container ecfcf18396a4 [2022-10-25T08:20:26.418Z] ---> 005073a30988 [2022-10-25T08:20:26.418Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-10-25T08:20:26.418Z] ---> Running in e613c43366b5 [2022-10-25T08:20:26.674Z] Removing intermediate container e613c43366b5 [2022-10-25T08:20:26.674Z] ---> 74e314bed741 [2022-10-25T08:20:26.674Z] Step 7/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-25T08:20:26.674Z] ---> Running in 4ce312946e8b [2022-10-25T08:20:27.238Z] Removing intermediate container 4ce312946e8b [2022-10-25T08:20:27.238Z] ---> 05ede293b640 [2022-10-25T08:20:27.238Z] Step 8/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-25T08:20:27.238Z] ---> Running in af2aaa34f4f3 [2022-10-25T08:20:27.496Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-25T08:20:28.431Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-25T08:20:28.689Z] (1/80) Installing mesa (21.3.8-r2) [2022-10-25T08:20:28.689Z] (2/80) Installing libxau (1.0.9-r0) [2022-10-25T08:20:28.689Z] (3/80) Installing libxdmcp (1.1.3-r0) [2022-10-25T08:20:28.948Z] (4/80) Installing libxcb (1.15-r0) [2022-10-25T08:20:28.948Z] (5/80) Installing libx11 (1.8-r0) [2022-10-25T08:20:28.948Z] (6/80) Installing libxext (1.3.4-r0) [2022-10-25T08:20:29.208Z] (7/80) Installing libxfixes (6.0.0-r0) [2022-10-25T08:20:29.208Z] (8/80) Installing libxxf86vm (1.1.4-r2) [2022-10-25T08:20:29.208Z] (9/80) Installing libpciaccess (0.16-r0) [2022-10-25T08:20:29.356Z] Still waiting to schedule task [2022-10-25T08:20:29.356Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-10-25T08:20:29.466Z] (10/80) Installing libdrm (2.4.110-r0) [2022-10-25T08:20:29.466Z] (11/80) Installing mesa-glapi (21.3.8-r2) [2022-10-25T08:20:29.728Z] (12/80) Installing libxshmfence (1.3-r1) [2022-10-25T08:20:29.728Z] (13/80) Installing mesa-gl (21.3.8-r2) [2022-10-25T08:20:29.728Z] (14/80) Installing icu-data-full (71.1-r2) [2022-10-25T08:20:30.669Z] (15/80) Installing libice (1.0.10-r0) [2022-10-25T08:20:30.669Z] (16/80) Installing libuuid (2.38-r1) [2022-10-25T08:20:30.927Z] (17/80) Installing libsm (1.2.3-r0) [2022-10-25T08:20:30.927Z] (18/80) Installing libxt (1.2.1-r0) [2022-10-25T08:20:30.927Z] (19/80) Installing libxmu (1.1.3-r0) [2022-10-25T08:20:31.185Z] (20/80) Installing xset (1.2.4-r0) [2022-10-25T08:20:31.185Z] (21/80) Installing xprop (1.2.5-r0) [2022-10-25T08:20:31.185Z] (22/80) Installing xdg-utils (1.1.3-r3) [2022-10-25T08:20:31.442Z] (23/80) Installing dbus-libs (1.14.4-r0) [2022-10-25T08:20:31.442Z] (24/80) Installing libffi (3.4.2-r1) [2022-10-25T08:20:31.442Z] (25/80) Installing libintl (0.21-r2) [2022-10-25T08:20:31.701Z] (26/80) Installing libblkid (2.38-r1) [2022-10-25T08:20:31.701Z] (27/80) Installing libmount (2.38-r1) [2022-10-25T08:20:31.701Z] (28/80) Installing pcre (8.45-r2) [2022-10-25T08:20:31.959Z] (29/80) Installing glib (2.72.1-r0) [2022-10-25T08:20:31.959Z] (30/80) Installing icu-libs (71.1-r2) [2022-10-25T08:20:32.216Z] (31/80) Installing libpcre2-16 (10.40-r0) [2022-10-25T08:20:32.216Z] (32/80) Installing zstd-libs (1.5.2-r1) [2022-10-25T08:20:32.216Z] (33/80) Installing qt5-qtbase (5.15.4_git20220511-r2) [2022-10-25T08:20:32.474Z] (34/80) Installing hicolor-icon-theme (0.17-r1) [2022-10-25T08:20:32.474Z] (35/80) Installing wayland-libs-server (1.20.0-r0) [2022-10-25T08:20:32.733Z] (36/80) Installing mesa-gbm (21.3.8-r2) [2022-10-25T08:20:32.733Z] (37/80) Installing wayland-libs-client (1.20.0-r0) [2022-10-25T08:20:32.733Z] (38/80) Installing qt5-qtdeclarative (5.15.4_git20220514-r1) [2022-10-25T08:20:33.300Z] (39/80) Installing libxcomposite (0.4.5-r0) [2022-10-25T08:20:33.300Z] (40/80) Installing libbz2 (1.0.8-r1) [2022-10-25T08:20:33.300Z] (41/80) Installing libpng (1.6.37-r1) [2022-10-25T08:20:33.559Z] (42/80) Installing freetype (2.12.1-r0) [2022-10-25T08:20:33.559Z] (43/80) Installing fontconfig (2.14.0-r0) [2022-10-25T08:20:33.816Z] (44/80) Installing wayland-libs-cursor (1.20.0-r0) [2022-10-25T08:20:33.816Z] (45/80) Installing wayland-libs-egl (1.20.0-r0) [2022-10-25T08:20:33.816Z] (46/80) Installing xkeyboard-config (2.35.1-r0) [2022-10-25T08:20:34.081Z] (47/80) Installing xz-libs (5.2.5-r1) [2022-10-25T08:20:34.081Z] (48/80) Installing libxml2 (2.9.14-r2) [2022-10-25T08:20:34.081Z] (49/80) Installing libxkbcommon (1.4.1-r0) [2022-10-25T08:20:34.340Z] (50/80) Installing qt5-qtwayland (5.15.4_git20220511-r0) [2022-10-25T08:20:35.714Z] (51/80) Installing mesa-egl (21.3.8-r2) [2022-10-25T08:20:35.714Z] (52/80) Installing avahi-libs (0.8-r6) [2022-10-25T08:20:35.973Z] (53/80) Installing nettle (3.7.3-r0) [2022-10-25T08:20:35.973Z] (54/80) Installing p11-kit (0.24.1-r0) [2022-10-25T08:20:35.973Z] (55/80) Installing libtasn1 (4.18.0-r0) [2022-10-25T08:20:36.231Z] (56/80) Installing libunistring (1.0-r0) [2022-10-25T08:20:36.231Z] (57/80) Installing gnutls (3.7.7-r0) [2022-10-25T08:20:37.168Z] (58/80) Installing cups-libs (2.4.2-r0) [2022-10-25T08:20:37.168Z] (59/80) Installing graphite2 (1.3.14-r1) [2022-10-25T08:20:37.168Z] (60/80) Installing harfbuzz (4.3.0-r0) [2022-10-25T08:20:37.427Z] (61/80) Installing libevdev (1.12.1-r0) [2022-10-25T08:20:37.428Z] (62/80) Installing mtdev (1.1.6-r0) [2022-10-25T08:20:37.686Z] (63/80) Installing eudev-libs (3.2.11-r0) [2022-10-25T08:20:37.686Z] (64/80) Installing libinput-libs (1.20.1-r0) [2022-10-25T08:20:37.946Z] (65/80) Installing libjpeg-turbo (2.1.3-r1) [2022-10-25T08:20:37.946Z] (66/80) Installing xcb-util-wm (0.4.1-r1) [2022-10-25T08:20:37.946Z] (67/80) Installing xcb-util (0.4.0-r3) [2022-10-25T08:20:38.204Z] (68/80) Installing xcb-util-image (0.4.0-r1) [2022-10-25T08:20:38.204Z] (69/80) Installing xcb-util-keysyms (0.4.0-r1) [2022-10-25T08:20:38.204Z] (70/80) Installing xcb-util-renderutil (0.3.9-r1) [2022-10-25T08:20:38.462Z] (71/80) Installing libxkbcommon-x11 (1.4.1-r0) [2022-10-25T08:20:38.462Z] (72/80) Installing qt5-qtbase-x11 (5.15.4_git20220511-r2) [2022-10-25T08:20:39.029Z] (73/80) Installing v4l-utils-libs (1.22.1-r1) [2022-10-25T08:20:39.288Z] (74/80) Installing v4l-utils (1.22.1-r1) [2022-10-25T08:20:39.288Z] (75/80) Installing udev-init-scripts (35-r0) [2022-10-25T08:20:39.288Z] Executing udev-init-scripts-35-r0.post-install [2022-10-25T08:20:39.288Z] (76/80) Installing kmod-libs (29-r2) [2022-10-25T08:20:39.546Z] (77/80) Installing eudev (3.2.11-r0) [2022-10-25T08:20:39.546Z] (78/80) Installing eudev-dev (3.2.11-r0) [2022-10-25T08:20:39.546Z] (79/80) Installing v4l-utils-dvbv5 (1.22.1-r1) [2022-10-25T08:20:39.804Z] (80/80) Installing v4l-utils-dev (1.22.1-r1) [2022-10-25T08:20:39.804Z] Executing busybox-1.35.0-r17.trigger [2022-10-25T08:20:39.804Z] Executing eudev-3.2.11-r0.trigger [2022-10-25T08:20:39.804Z] OK: 330 MiB in 131 packages [2022-10-25T08:20:42.336Z] Removing intermediate container af2aaa34f4f3 [2022-10-25T08:20:42.336Z] ---> 02d4232619bd [2022-10-25T08:20:42.336Z] Step 9/14 : WORKDIR /device-usb-camera [2022-10-25T08:20:42.336Z] ---> Running in 1f84bca6d129 [2022-10-25T08:20:42.336Z] Removing intermediate container 1f84bca6d129 [2022-10-25T08:20:42.336Z] ---> 39031b049c9d [2022-10-25T08:20:42.336Z] Step 10/14 : COPY go.mod vendor* ./ [2022-10-25T08:20:42.336Z] ---> 180a4cec73ec [2022-10-25T08:20:42.336Z] Step 11/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-25T08:20:42.336Z] ---> Running in b7451d5322f9 [2022-10-25T08:21:00.423Z] Removing intermediate container b7451d5322f9 [2022-10-25T08:21:00.423Z] ---> 64f4fc87488c [2022-10-25T08:21:00.423Z] Step 12/14 : COPY . . [2022-10-25T08:21:00.423Z] ---> a70bae674fbb [2022-10-25T08:21:00.423Z] Step 13/14 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2022-10-25T08:21:00.423Z] ---> Running in 5c836bab9d61 [2022-10-25T08:21:00.423Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-25T08:21:00.423Z] Dload Upload Total Spent Left Speed [2022-10-25T08:21:00.423Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 45661 0 --:--:-- --:--:-- --:--:-- 46173 [2022-10-25T08:21:00.423Z] Removing intermediate container 5c836bab9d61 [2022-10-25T08:21:00.423Z] ---> c84eb46ee2df [2022-10-25T08:21:00.423Z] Step 14/14 : RUN ${MAKE} [2022-10-25T08:21:00.423Z] ---> Running in 16a0e8f7c81f [2022-10-25T08:21:00.423Z] noop [2022-10-25T08:21:00.423Z] Removing intermediate container 16a0e8f7c81f [2022-10-25T08:21:00.423Z] ---> 49df9a5e6d90 [2022-10-25T08:21:00.423Z] Successfully built 49df9a5e6d90 [2022-10-25T08:21:00.423Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T08:21:00.872Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-25T08:21:00.872Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T08:21:01.013Z] prd-ubuntu20.04-docker-8c-8g-116806 does not seem to be running inside a container [2022-10-25T08:21:01.042Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-107 -v /w/workspace/foundry_device-usb-camera_PR-107:/w/workspace/foundry_device-usb-camera_PR-107:rw,z -v /w/workspace/foundry_device-usb-camera_PR-107@tmp:/w/workspace/foundry_device-usb-camera_PR-107@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-x86_64 cat [2022-10-25T08:21:01.411Z] $ docker top c995e16a67de107aeaae4697fa018b7819f86d6d625660a2d7970c39e09b0d2c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T08:21:01.804Z] + go version [2022-10-25T08:21:01.804Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-25T08:21:01.836Z] $ docker stop --time=1 c995e16a67de107aeaae4697fa018b7819f86d6d625660a2d7970c39e09b0d2c [2022-10-25T08:21:03.109Z] $ docker rm -f c995e16a67de107aeaae4697fa018b7819f86d6d625660a2d7970c39e09b0d2c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T08:21:03.765Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-25T08:21:03.765Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T08:21:03.901Z] prd-ubuntu20.04-docker-8c-8g-116806 does not seem to be running inside a container [2022-10-25T08:21:03.929Z] $ 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-107 -v /w/workspace/foundry_device-usb-camera_PR-107:/w/workspace/foundry_device-usb-camera_PR-107:rw,z -v /w/workspace/foundry_device-usb-camera_PR-107@tmp:/w/workspace/foundry_device-usb-camera_PR-107@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-x86_64 cat [2022-10-25T08:21:04.302Z] $ docker top 2703f1c3b03f1ae73f5089b05ee787f6e8364f89a5c1442a28f4891633016570 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T08:21:04.700Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-107 [Pipeline] fileExists [Pipeline] sh [2022-10-25T08:21:05.054Z] + make test [2022-10-25T08:21:05.055Z] CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... [2022-10-25T08:21:05.312Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2022-10-25T08:21:15.279Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2022-10-25T08:21:15.279Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.017s coverage: 1.9% of statements [2022-10-25T08:21:23.455Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-10-25T08:21:23.455Z] CGO_ENABLED=1 go vet ./... [2022-10-25T08:21:25.985Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-25T08:21:25.985Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-25T08:21:25.985Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-25T08:21:26.020Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-25T08:21:26.052Z] $ docker stop --time=1 2703f1c3b03f1ae73f5089b05ee787f6e8364f89a5c1442a28f4891633016570 [2022-10-25T08:21:27.965Z] $ docker rm -f 2703f1c3b03f1ae73f5089b05ee787f6e8364f89a5c1442a28f4891633016570 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-25T08:21:28.441Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-25T08:21:28.513Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-25T08:21:29.089Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-25T08:21:29.400Z] + ls -al . [2022-10-25T08:21:29.400Z] total 204 [2022-10-25T08:21:29.400Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 25 08:21 . [2022-10-25T08:21:29.400Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 08:19 .. [2022-10-25T08:21:29.400Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 08:21 .git [2022-10-25T08:21:29.400Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 08:19 .github [2022-10-25T08:21:29.400Z] -rw-rw-r-- 1 jenkins jenkins 414 Oct 25 08:19 .gitignore [2022-10-25T08:21:29.400Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 25 08:19 .golangci.yml [2022-10-25T08:21:29.400Z] -rw-rw-r-- 1 jenkins jenkins 77 Oct 25 08:19 .hadolint.yml [2022-10-25T08:21:29.400Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 08:20 .semver [2022-10-25T08:21:29.400Z] -rw-rw-r-- 1 jenkins jenkins 9702 Oct 25 08:19 Attribution.txt [2022-10-25T08:21:29.400Z] -rw-rw-r-- 1 jenkins jenkins 1206 Oct 25 08:19 CHANGELOG.md [2022-10-25T08:21:29.400Z] -rw-rw-r-- 1 jenkins jenkins 2467 Oct 25 08:19 Dockerfile [2022-10-25T08:21:29.400Z] -rw-rw-r-- 1 jenkins jenkins 678 Oct 25 08:19 GOVERNANCE.md [2022-10-25T08:21:29.400Z] -rw-rw-r-- 1 jenkins jenkins 659 Oct 25 08:19 Jenkinsfile [2022-10-25T08:21:29.400Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 25 08:19 LICENSE [2022-10-25T08:21:29.400Z] -rw-rw-r-- 1 jenkins jenkins 2554 Oct 25 08:19 Makefile [2022-10-25T08:21:29.400Z] -rw-rw-r-- 1 jenkins jenkins 622 Oct 25 08:19 OWNERS.md [2022-10-25T08:21:29.400Z] -rw-rw-r-- 1 jenkins jenkins 5773 Oct 25 08:19 README.md [2022-10-25T08:21:29.400Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 25 08:20 VERSION [2022-10-25T08:21:29.400Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 08:19 bin [2022-10-25T08:21:29.400Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 08:19 cmd [2022-10-25T08:21:29.400Z] -rw-r--r-- 1 jenkins jenkins 29387 Oct 25 08:21 coverage.out [2022-10-25T08:21:29.400Z] -rwxrwxr-x 1 jenkins jenkins 140 Oct 25 08:19 docker-entrypoint.sh [2022-10-25T08:21:29.400Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 08:19 docs [2022-10-25T08:21:29.400Z] -rw-rw-r-- 1 jenkins jenkins 3621 Oct 25 08:19 go.mod [2022-10-25T08:21:29.400Z] -rw-rw-r-- 1 jenkins jenkins 45122 Oct 25 08:19 go.sum [2022-10-25T08:21:29.400Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 08:19 internal [2022-10-25T08:21:29.400Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 08:19 snap [2022-10-25T08:21:29.400Z] -rw-rw-r-- 1 jenkins jenkins 231 Oct 25 08:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T08:21:29.791Z] + 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=345b3c5613ae76c94415a58ddb707d834bfcb682 --label arch=amd64 --label version=0.0.0 . [2022-10-25T08:21:29.791Z] Sending build context to Docker daemon 1.589MB [2022-10-25T08:21:29.791Z] Step 1/36 : ARG BASE=golang:1.18-alpine3.16 [2022-10-25T08:21:29.791Z] Step 2/36 : FROM ${BASE} AS builder [2022-10-25T08:21:29.791Z] ---> 49df9a5e6d90 [2022-10-25T08:21:29.791Z] Step 3/36 : ARG ADD_BUILD_TAGS="" [2022-10-25T08:21:29.791Z] ---> Running in 6b8fa0fa38d1 [2022-10-25T08:21:30.052Z] Removing intermediate container 6b8fa0fa38d1 [2022-10-25T08:21:30.052Z] ---> 03b541dee2b3 [2022-10-25T08:21:30.052Z] Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-25T08:21:30.052Z] ---> Running in 9bf4846a81d8 [2022-10-25T08:21:30.309Z] Removing intermediate container 9bf4846a81d8 [2022-10-25T08:21:30.309Z] ---> a01fecc243ec [2022-10-25T08:21:30.309Z] Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" [2022-10-25T08:21:30.309Z] ---> Running in 3bec66ba26d3 [2022-10-25T08:21:30.309Z] Removing intermediate container 3bec66ba26d3 [2022-10-25T08:21:30.309Z] ---> 1511661d56a0 [2022-10-25T08:21:30.309Z] Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-10-25T08:21:30.309Z] ---> Running in 3c7b7b24d4be [2022-10-25T08:21:30.310Z] Removing intermediate container 3c7b7b24d4be [2022-10-25T08:21:30.310Z] ---> a29817e61e56 [2022-10-25T08:21:30.310Z] Step 7/36 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-25T08:21:30.568Z] ---> Running in 37c4c81f11b6 [2022-10-25T08:21:31.135Z] Removing intermediate container 37c4c81f11b6 [2022-10-25T08:21:31.135Z] ---> b6390e51d066 [2022-10-25T08:21:31.135Z] Step 8/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-25T08:21:31.135Z] ---> Running in 1d29562c6980 [2022-10-25T08:21:31.394Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-25T08:21:32.332Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-25T08:21:32.591Z] OK: 330 MiB in 131 packages [2022-10-25T08:21:32.849Z] Removing intermediate container 1d29562c6980 [2022-10-25T08:21:32.849Z] ---> 7808eac5e893 [2022-10-25T08:21:32.849Z] Step 9/36 : WORKDIR /device-usb-camera [2022-10-25T08:21:32.849Z] ---> Running in c55248338c8a [2022-10-25T08:21:33.106Z] Removing intermediate container c55248338c8a [2022-10-25T08:21:33.106Z] ---> 5025eef23e60 [2022-10-25T08:21:33.106Z] Step 10/36 : COPY go.mod vendor* ./ [2022-10-25T08:21:33.106Z] ---> 993830c99ced [2022-10-25T08:21:33.106Z] Step 11/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-25T08:21:33.364Z] ---> Running in bdbfc0ce971e [2022-10-25T08:21:33.928Z] Removing intermediate container bdbfc0ce971e [2022-10-25T08:21:33.928Z] ---> 200069481590 [2022-10-25T08:21:33.928Z] Step 12/36 : COPY . . [2022-10-25T08:21:34.186Z] ---> ef0b82f3bcad [2022-10-25T08:21:34.186Z] Step 13/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2022-10-25T08:21:34.186Z] ---> Running in f0198ea52577 [2022-10-25T08:21:34.444Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-25T08:21:34.444Z] Dload Upload Total Spent Left Speed [2022-10-25T08:21:34.704Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062  100  1062   0    0  27069     0 --:--:-- --:--:-- --:--:-- 27230 [2022-10-25T08:21:34.963Z] Removing intermediate container f0198ea52577 [2022-10-25T08:21:34.963Z] ---> ab210f9bd83c [2022-10-25T08:21:34.963Z] Step 14/36 : RUN ${MAKE} [2022-10-25T08:21:34.963Z] ---> Running in 576b7746d743 [2022-10-25T08:21:35.221Z] CGO_ENABLED=1 go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.46" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd [2022-10-25T08:21:57.133Z] Removing intermediate container 576b7746d743 [2022-10-25T08:21:57.133Z] ---> c33455906866 [2022-10-25T08:21:57.133Z] Step 15/36 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp [2022-10-25T08:21:57.133Z] v0.18.4: Pulling from aler9/rtsp-simple-server [2022-10-25T08:21:57.133Z] af6660deedbd: Pulling fs layer [2022-10-25T08:21:57.133Z] 97cd0a44c592: Pulling fs layer [2022-10-25T08:21:57.133Z] 97cd0a44c592: Download complete [2022-10-25T08:21:57.133Z] af6660deedbd: Verifying Checksum [2022-10-25T08:21:57.133Z] af6660deedbd: Download complete [2022-10-25T08:21:57.133Z] af6660deedbd: Pull complete [2022-10-25T08:21:57.133Z] 97cd0a44c592: Pull complete [2022-10-25T08:21:57.133Z] Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 [2022-10-25T08:21:57.133Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 [2022-10-25T08:21:57.133Z] ---> fea57e182299 [2022-10-25T08:21:57.133Z] Step 16/36 : FROM alpine:3.16 [2022-10-25T08:21:57.133Z] 3.16: Pulling from library/alpine [2022-10-25T08:21:57.133Z] 213ec9aee27d: Already exists [2022-10-25T08:21:57.393Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-25T08:21:57.393Z] Status: Downloaded newer image for alpine:3.16 [2022-10-25T08:21:57.393Z] ---> 9c6f07244728 [2022-10-25T08:21:57.393Z] Step 17/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-25T08:21:57.652Z] ---> Running in 8ccca0b13689 [2022-10-25T08:21:57.652Z] Removing intermediate container 8ccca0b13689 [2022-10-25T08:21:57.652Z] ---> 093d564d9912 [2022-10-25T08:21:57.652Z] Step 18/36 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev [2022-10-25T08:21:57.652Z] ---> Running in ea26b216399f [2022-10-25T08:21:57.910Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-25T08:21:57.910Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-25T08:21:58.169Z] (1/83) Installing dumb-init (1.2.5-r1) [2022-10-25T08:21:58.169Z] (2/83) Installing sdl2 (2.0.22-r0) [2022-10-25T08:21:58.169Z] (3/83) Installing libxau (1.0.9-r0) [2022-10-25T08:21:58.169Z] (4/83) Installing libxdmcp (1.1.3-r0) [2022-10-25T08:21:58.169Z] (5/83) Installing libxcb (1.15-r0) [2022-10-25T08:21:58.169Z] (6/83) Installing libx11 (1.8-r0) [2022-10-25T08:21:58.169Z] (7/83) Installing aom-libs (3.3.0-r0) [2022-10-25T08:21:58.430Z] (8/83) Installing alsa-lib (1.2.7.2-r0) [2022-10-25T08:21:58.430Z] (9/83) Installing expat (2.4.9-r0) [2022-10-25T08:21:58.430Z] (10/83) Installing brotli-libs (1.0.9-r6) [2022-10-25T08:21:58.430Z] (11/83) Installing libbz2 (1.0.8-r1) [2022-10-25T08:21:58.430Z] (12/83) Installing libpng (1.6.37-r1) [2022-10-25T08:21:58.430Z] (13/83) Installing freetype (2.12.1-r0) [2022-10-25T08:21:58.430Z] (14/83) Installing fontconfig (2.14.0-r0) [2022-10-25T08:21:58.430Z] (15/83) Installing fribidi (1.0.12-r0) [2022-10-25T08:21:58.430Z] (16/83) Installing libffi (3.4.2-r1) [2022-10-25T08:21:58.430Z] (17/83) Installing libintl (0.21-r2) [2022-10-25T08:21:58.430Z] (18/83) Installing libblkid (2.38-r1) [2022-10-25T08:21:58.430Z] (19/83) Installing libmount (2.38-r1) [2022-10-25T08:21:58.430Z] (20/83) Installing pcre (8.45-r2) [2022-10-25T08:21:58.430Z] (21/83) Installing glib (2.72.1-r0) [2022-10-25T08:21:58.430Z] (22/83) Installing graphite2 (1.3.14-r1) [2022-10-25T08:21:58.430Z] (23/83) Installing harfbuzz (4.3.0-r0) [2022-10-25T08:21:58.430Z] (24/83) Installing libass (0.16.0-r0) [2022-10-25T08:21:58.430Z] (25/83) Installing libdav1d (1.0.0-r0) [2022-10-25T08:21:58.430Z] (26/83) Installing libpciaccess (0.16-r0) [2022-10-25T08:21:58.430Z] (27/83) Installing libdrm (2.4.110-r0) [2022-10-25T08:21:58.430Z] (28/83) Installing gmp (6.2.1-r2) [2022-10-25T08:21:58.689Z] (29/83) Installing nettle (3.7.3-r0) [2022-10-25T08:21:58.689Z] (30/83) Installing p11-kit (0.24.1-r0) [2022-10-25T08:21:58.689Z] (31/83) Installing libtasn1 (4.18.0-r0) [2022-10-25T08:21:58.689Z] (32/83) Installing libunistring (1.0-r0) [2022-10-25T08:21:58.689Z] (33/83) Installing gnutls (3.7.7-r0) [2022-10-25T08:21:58.689Z] (34/83) Installing ncurses-terminfo-base (6.3_p20220521-r0) [2022-10-25T08:21:58.689Z] (35/83) Installing ncurses-libs (6.3_p20220521-r0) [2022-10-25T08:21:58.689Z] (36/83) Installing lame (3.100-r0) [2022-10-25T08:21:58.689Z] (37/83) Installing opus (1.3.1-r1) [2022-10-25T08:21:58.689Z] (38/83) Installing libasyncns (0.8-r1) [2022-10-25T08:21:58.689Z] (39/83) Installing dbus-libs (1.14.4-r0) [2022-10-25T08:21:58.689Z] (40/83) Installing libltdl (2.4.7-r0) [2022-10-25T08:21:58.689Z] (41/83) Installing orc (0.4.32-r0) [2022-10-25T08:21:58.689Z] (42/83) Installing libgcc (11.2.1_git20220219-r2) [2022-10-25T08:21:58.689Z] (43/83) Installing libogg (1.3.5-r1) [2022-10-25T08:21:58.689Z] (44/83) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-25T08:21:58.689Z] (45/83) Installing flac (1.3.4-r0) [2022-10-25T08:21:58.689Z] (46/83) Installing libvorbis (1.3.7-r0) [2022-10-25T08:21:58.689Z] (47/83) Installing libsndfile (1.1.0-r0) [2022-10-25T08:21:58.689Z] (48/83) Installing libgomp (11.2.1_git20220219-r2) [2022-10-25T08:21:58.689Z] (49/83) Installing soxr (0.1.3-r2) [2022-10-25T08:21:58.689Z] (50/83) Installing speexdsp (1.2.0-r0) [2022-10-25T08:21:58.689Z] (51/83) Installing tdb-libs (1.4.6-r0) [2022-10-25T08:21:58.689Z] (52/83) Installing libpulse (15.0-r2) [2022-10-25T08:21:58.689Z] (53/83) Installing cjson (1.7.15-r3) [2022-10-25T08:21:58.689Z] (54/83) Installing mbedtls (2.28.1-r0) [2022-10-25T08:21:58.689Z] (55/83) Installing librist (0.2.6-r1) [2022-10-25T08:21:58.689Z] (56/83) Installing libsrt (1.4.4-r0) [2022-10-25T08:21:58.689Z] (57/83) Installing libssh (0.9.6-r1) [2022-10-25T08:21:58.689Z] (58/83) Installing libtheora (1.1.1-r16) [2022-10-25T08:21:58.949Z] (59/83) Installing libjpeg-turbo (2.1.3-r1) [2022-10-25T08:21:58.950Z] (60/83) Installing v4l-utils-libs (1.22.1-r1) [2022-10-25T08:21:58.950Z] (61/83) Installing libxext (1.3.4-r0) [2022-10-25T08:21:58.950Z] (62/83) Installing libxfixes (6.0.0-r0) [2022-10-25T08:21:58.950Z] (63/83) Installing wayland-libs-client (1.20.0-r0) [2022-10-25T08:21:58.950Z] (64/83) Installing libva (2.14.0-r0) [2022-10-25T08:21:58.950Z] (65/83) Installing libvdpau (1.5-r0) [2022-10-25T08:21:58.950Z] (66/83) Installing vidstab (1.1.0-r1) [2022-10-25T08:21:58.950Z] (67/83) Installing libvpx (1.11.0-r1) [2022-10-25T08:21:58.950Z] (68/83) Installing libwebp (1.2.3-r0) [2022-10-25T08:21:58.950Z] (69/83) Installing x264-libs (0.163_git20210613-r0) [2022-10-25T08:21:58.950Z] (70/83) Installing numactl (2.0.14-r0) [2022-10-25T08:21:58.950Z] (71/83) Installing x265-libs (3.5-r3) [2022-10-25T08:21:58.950Z] (72/83) Installing xvidcore (1.3.7-r1) [2022-10-25T08:21:58.950Z] (73/83) Installing ffmpeg-libs (5.0.1-r1) [2022-10-25T08:21:59.218Z] (74/83) Installing ffmpeg (5.0.1-r1) [2022-10-25T08:21:59.218Z] (75/83) Installing udev-init-scripts (35-r0) [2022-10-25T08:21:59.218Z] Executing udev-init-scripts-35-r0.post-install [2022-10-25T08:21:59.218Z] (76/83) Installing eudev-libs (3.2.11-r0) [2022-10-25T08:21:59.218Z] (77/83) Installing xz-libs (5.2.5-r1) [2022-10-25T08:21:59.218Z] (78/83) Installing zstd-libs (1.5.2-r1) [2022-10-25T08:21:59.218Z] (79/83) Installing kmod-libs (29-r2) [2022-10-25T08:21:59.218Z] (80/83) Installing eudev (3.2.11-r0) [2022-10-25T08:21:59.218Z] (81/83) Installing libsodium (1.0.18-r0) [2022-10-25T08:21:59.218Z] (82/83) Installing libzmq (4.3.4-r0) [2022-10-25T08:21:59.218Z] (83/83) Installing zeromq (4.3.4-r0) [2022-10-25T08:21:59.218Z] Executing busybox-1.35.0-r17.trigger [2022-10-25T08:21:59.218Z] Executing eudev-3.2.11-r0.trigger [2022-10-25T08:21:59.218Z] OK: 101 MiB in 97 packages [2022-10-25T08:22:01.126Z] Removing intermediate container ea26b216399f [2022-10-25T08:22:01.126Z] ---> 8445b0593204 [2022-10-25T08:22:01.126Z] Step 19/36 : WORKDIR / [2022-10-25T08:22:01.126Z] ---> Running in 41b5c2109083 [2022-10-25T08:22:01.126Z] Removing intermediate container 41b5c2109083 [2022-10-25T08:22:01.126Z] ---> 848ceffeab05 [2022-10-25T08:22:01.126Z] Step 20/36 : COPY --from=builder /device-usb-camera/cmd / [2022-10-25T08:22:01.691Z] ---> 1022561aba0f [2022-10-25T08:22:01.691Z] Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE / [2022-10-25T08:22:01.691Z] ---> d1517106ce31 [2022-10-25T08:22:01.691Z] Step 22/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2022-10-25T08:22:01.949Z] ---> 69b085da2e15 [2022-10-25T08:22:01.949Z] Step 23/36 : COPY --from=builder /device-usb-camera/Attribution.txt / [2022-10-25T08:22:02.208Z] ---> b0e9ad64b983 [2022-10-25T08:22:02.208Z] Step 24/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2022-10-25T08:22:02.208Z] ---> 05f475638b4f [2022-10-25T08:22:02.208Z] Step 25/36 : COPY --from=rtsp /rtsp-simple-server.yml / [2022-10-25T08:22:02.466Z] ---> 71f86799b775 [2022-10-25T08:22:02.466Z] Step 26/36 : COPY --from=rtsp /rtsp-simple-server / [2022-10-25T08:22:02.725Z] ---> 89fd77a9988a [2022-10-25T08:22:02.725Z] Step 27/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2022-10-25T08:22:02.982Z] ---> Running in b5f1ccded0da [2022-10-25T08:22:03.549Z] Removing intermediate container b5f1ccded0da [2022-10-25T08:22:03.549Z] ---> 328b9063e15e [2022-10-25T08:22:03.549Z] Step 28/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2022-10-25T08:22:03.549Z] ---> Running in b0608f95d02d [2022-10-25T08:22:04.117Z] Removing intermediate container b0608f95d02d [2022-10-25T08:22:04.117Z] ---> babd29db4d4e [2022-10-25T08:22:04.117Z] Step 29/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2022-10-25T08:22:04.117Z] ---> Running in e524e10c729f [2022-10-25T08:22:04.685Z] Removing intermediate container e524e10c729f [2022-10-25T08:22:04.685Z] ---> 70e12536b85c [2022-10-25T08:22:04.685Z] Step 30/36 : EXPOSE 59983 [2022-10-25T08:22:04.685Z] ---> Running in f2d895dd3633 [2022-10-25T08:22:04.948Z] Removing intermediate container f2d895dd3633 [2022-10-25T08:22:04.948Z] ---> b7cab1b9010d [2022-10-25T08:22:04.948Z] Step 31/36 : EXPOSE 8554 [2022-10-25T08:22:04.948Z] ---> Running in d4fabf116de4 [2022-10-25T08:22:04.948Z] Removing intermediate container d4fabf116de4 [2022-10-25T08:22:04.948Z] ---> 2ec3e534417a [2022-10-25T08:22:04.948Z] Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] [2022-10-25T08:22:05.223Z] ---> Running in b4c6741e7c39 [2022-10-25T08:22:05.223Z] Removing intermediate container b4c6741e7c39 [2022-10-25T08:22:05.223Z] ---> cc1c6e43a894 [2022-10-25T08:22:05.223Z] Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] [2022-10-25T08:22:05.223Z] ---> Running in 15588cc53d63 [2022-10-25T08:22:05.223Z] Removing intermediate container 15588cc53d63 [2022-10-25T08:22:05.223Z] ---> 3b92976a5d78 [2022-10-25T08:22:05.223Z] Step 34/36 : LABEL arch=amd64 [2022-10-25T08:22:05.482Z] ---> Running in 157908b64651 [2022-10-25T08:22:05.482Z] Removing intermediate container 157908b64651 [2022-10-25T08:22:05.482Z] ---> 768b5a138cb2 [2022-10-25T08:22:05.482Z] Step 35/36 : LABEL git_sha=345b3c5613ae76c94415a58ddb707d834bfcb682 [2022-10-25T08:22:05.482Z] ---> Running in aaa95deb9b66 [2022-10-25T08:22:05.482Z] Removing intermediate container aaa95deb9b66 [2022-10-25T08:22:05.482Z] ---> 419c0a37276d [2022-10-25T08:22:05.482Z] Step 36/36 : LABEL version=0.0.0 [2022-10-25T08:22:05.748Z] ---> Running in b3fd2e9aa442 [2022-10-25T08:22:05.748Z] Removing intermediate container b3fd2e9aa442 [2022-10-25T08:22:05.748Z] ---> db67b7a6c632 [2022-10-25T08:22:05.748Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-25T08:22:05.748Z] Successfully built db67b7a6c632 [2022-10-25T08:22:05.748Z] 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 [2022-10-25T08:22:06.537Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-25T08:22:06.537Z] [2022-10-25T08:22:06.537Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T08:22:06.903Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-25T08:22:07.163Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-25T08:22:07.163Z] 5eb5b503b376: Pulling fs layer [2022-10-25T08:22:07.163Z] 5c69ac0246d0: Pulling fs layer [2022-10-25T08:22:07.163Z] ec43610c2a17: Pulling fs layer [2022-10-25T08:22:07.163Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-25T08:22:07.163Z] 33b1e0a273af: Pulling fs layer [2022-10-25T08:22:07.163Z] 5d3b04190fa2: Pulling fs layer [2022-10-25T08:22:07.163Z] 2f39f015ded8: Pulling fs layer [2022-10-25T08:22:07.163Z] 33b1e0a273af: Waiting [2022-10-25T08:22:07.163Z] 3a2ae6a8a46f: Waiting [2022-10-25T08:22:07.163Z] 5d3b04190fa2: Waiting [2022-10-25T08:22:07.163Z] 2f39f015ded8: Waiting [2022-10-25T08:22:07.163Z] 5c69ac0246d0: Verifying Checksum [2022-10-25T08:22:07.163Z] 5c69ac0246d0: Download complete [2022-10-25T08:22:07.163Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-25T08:22:07.163Z] 3a2ae6a8a46f: Download complete [2022-10-25T08:22:07.163Z] ec43610c2a17: Verifying Checksum [2022-10-25T08:22:07.163Z] ec43610c2a17: Download complete [2022-10-25T08:22:07.163Z] 5d3b04190fa2: Download complete [2022-10-25T08:22:07.421Z] 5eb5b503b376: Download complete [2022-10-25T08:22:07.421Z] 33b1e0a273af: Verifying Checksum [2022-10-25T08:22:07.421Z] 33b1e0a273af: Download complete [2022-10-25T08:22:07.988Z] 2f39f015ded8: Verifying Checksum [2022-10-25T08:22:07.988Z] 2f39f015ded8: Download complete [2022-10-25T08:22:08.557Z] 5eb5b503b376: Pull complete [2022-10-25T08:22:08.816Z] 5c69ac0246d0: Pull complete [2022-10-25T08:22:09.074Z] ec43610c2a17: Pull complete [2022-10-25T08:22:09.333Z] 3a2ae6a8a46f: Pull complete [2022-10-25T08:22:09.333Z] 33b1e0a273af: Pull complete [2022-10-25T08:22:09.591Z] 5d3b04190fa2: Pull complete [2022-10-25T08:22:13.775Z] 2f39f015ded8: Pull complete [2022-10-25T08:22:13.775Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-25T08:22:13.775Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-25T08:22:13.775Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T08:22:13.994Z] prd-ubuntu20.04-docker-8c-8g-116806 does not seem to be running inside a container [2022-10-25T08:22:14.024Z] $ 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-107 -v /w/workspace/foundry_device-usb-camera_PR-107:/w/workspace/foundry_device-usb-camera_PR-107:rw,z -v /w/workspace/foundry_device-usb-camera_PR-107@tmp:/w/workspace/foundry_device-usb-camera_PR-107@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 [2022-10-25T08:22:16.012Z] $ docker top e56cc821463a665464ebe75e0e4ae43d051690790a10a53c8727284451652f06 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T08:22:16.453Z] ---> job-cost.sh [2022-10-25T08:22:16.453Z] lf-activate-venv: SKIPPING [2022-10-25T08:22:16.453Z] INFO: No Stack... [2022-10-25T08:22:17.022Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-25T08:22:17.281Z] INFO: Archiving Costs [Pipeline] sh [2022-10-25T08:22:17.588Z] + cat /w/workspace/foundry_device-usb-camera_PR-107/archives/cost.csv [2022-10-25T08:22:17.588Z] + cut -d, -f6 [Pipeline] lock [2022-10-25T08:22:17.625Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-107-1-stack-cost] [2022-10-25T08:22:17.630Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-107-1-stack-cost] did not exist. Created. [2022-10-25T08:22:17.630Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-107-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-25T08:22:18.015Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-25T08:22:18.060Z] Stashed 1 file(s) [Pipeline] } [2022-10-25T08:22:18.090Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-107-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-25T08:22:18.174Z] $ docker stop --time=1 e56cc821463a665464ebe75e0e4ae43d051690790a10a53c8727284451652f06 [2022-10-25T08:22:19.324Z] $ docker rm -f e56cc821463a665464ebe75e0e4ae43d051690790a10a53c8727284451652f06 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-25T09:00:46.843Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-116821 in /w/workspace/foundry_device-usb-camera_PR-107 [Pipeline] { [Pipeline] ws [2022-10-25T09:00:46.877Z] Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout [2022-10-25T09:00:46.953Z] Selected Git installation does not exist. Using Default [2022-10-25T09:00:46.953Z] The recommended git tool is: NONE [2022-10-25T09:00:51.940Z] using credential edgex-jenkins-ssh [2022-10-25T09:00:51.956Z] Cloning the remote Git repository [2022-10-25T09:00:51.997Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2022-10-25T09:00:52.070Z] > git init /w/workspace/device-usb-camera/1 # timeout=10 [2022-10-25T09:00:52.209Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2022-10-25T09:00:52.210Z] > git --version # timeout=10 [2022-10-25T09:00:52.230Z] > git --version # 'git version 2.25.1' [2022-10-25T09:00:52.232Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-25T09:00:52.279Z] Verifying host key using known hosts file [2022-10-25T09:00:52.473Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-25T09:00:52.485Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-25T09:00:53.248Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2022-10-25T09:00:53.274Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-25T09:00:54.132Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2022-10-25T09:00:54.181Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2022-10-25T09:00:54.182Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-25T09:00:54.187Z] Verifying host key using known hosts file [2022-10-25T09:00:54.194Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-25T09:00:54.206Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/107/head:refs/remotes/origin/PR-107 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-25T09:00:54.833Z] Merging remotes/origin/main commit 2737b4a4757873c341a4cc117393b3c94d892178 into PR head commit 345b3c5613ae76c94415a58ddb707d834bfcb682 [2022-10-25T09:00:55.081Z] Merge succeeded, producing 345b3c5613ae76c94415a58ddb707d834bfcb682 [2022-10-25T09:00:55.081Z] Checking out Revision 345b3c5613ae76c94415a58ddb707d834bfcb682 (PR-107) [2022-10-25T09:00:54.849Z] > git config core.sparsecheckout # timeout=10 [2022-10-25T09:00:54.874Z] > git checkout -f 345b3c5613ae76c94415a58ddb707d834bfcb682 # timeout=10 [2022-10-25T09:00:54.976Z] > git remote # timeout=10 [2022-10-25T09:00:54.997Z] > git config --get remote.origin.url # timeout=10 [2022-10-25T09:00:55.016Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-25T09:00:55.021Z] Verifying host key using known hosts file [2022-10-25T09:00:55.024Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-25T09:00:55.032Z] > git merge 2737b4a4757873c341a4cc117393b3c94d892178 # timeout=10 [2022-10-25T09:00:55.057Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-25T09:00:55.087Z] > git config core.sparsecheckout # timeout=10 [2022-10-25T09:00:55.110Z] > git checkout -f 345b3c5613ae76c94415a58ddb707d834bfcb682 # timeout=10 [2022-10-25T09:00:58.635Z] Commit message: "fix: update command request and response topic" [2022-10-25T09:00:58.686Z] > git --version # timeout=10 [2022-10-25T09:00:58.696Z] > git --version # 'git version 2.25.1' [2022-10-25T09:00:58.711Z] fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-25T09:00:59.753Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-25T09:00:59.753Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-25T09:00:59.753Z] Dload Upload Total Spent Left Speed [2022-10-25T09:00:59.753Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 61774 0 --:--:-- --:--:-- --:--:-- 62078 [Pipeline] sh [2022-10-25T09:01:00.468Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-25T09:01:00.815Z] + sudo tee /etc/docker/daemon.new [2022-10-25T09:01:00.815Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-25T09:01:00.815Z] { [2022-10-25T09:01:00.815Z] "registry-mirrors": [ [2022-10-25T09:01:00.815Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-25T09:01:00.815Z] ], [2022-10-25T09:01:00.815Z] "bip": "10.250.0.254/24", [2022-10-25T09:01:00.815Z] "hosts": [ [2022-10-25T09:01:00.815Z] "tcp://0.0.0.0:5555", [2022-10-25T09:01:00.815Z] "unix:///var/run/docker.sock" [2022-10-25T09:01:00.815Z] ], [2022-10-25T09:01:00.815Z] "mtu": 1458, [2022-10-25T09:01:00.815Z] "selinux-enabled": true, [2022-10-25T09:01:00.815Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-25T09:01:00.815Z] } [Pipeline] sh [2022-10-25T09:01:01.170Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-25T09:01:01.545Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-25T09:01:19.866Z] provisioning config files... [2022-10-25T09:01:19.891Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config2997646102899816284tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T09:01:20.283Z] ---> docker-login.sh [2022-10-25T09:01:20.283Z] nexus3.edgexfoundry.org:10001 [2022-10-25T09:01:20.555Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T09:01:20.826Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T09:01:20.826Z] Configure a credential helper to remove this warning. See [2022-10-25T09:01:20.826Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T09:01:20.826Z] [2022-10-25T09:01:20.826Z] Login Succeeded [2022-10-25T09:01:20.826Z] nexus3.edgexfoundry.org:10002 [2022-10-25T09:01:21.094Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T09:01:21.362Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T09:01:21.362Z] Configure a credential helper to remove this warning. See [2022-10-25T09:01:21.362Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T09:01:21.362Z] [2022-10-25T09:01:21.362Z] Login Succeeded [2022-10-25T09:01:21.362Z] nexus3.edgexfoundry.org:10003 [2022-10-25T09:01:21.633Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T09:01:21.633Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T09:01:21.633Z] Configure a credential helper to remove this warning. See [2022-10-25T09:01:21.633Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T09:01:21.633Z] [2022-10-25T09:01:21.633Z] Login Succeeded [2022-10-25T09:01:21.633Z] nexus3.edgexfoundry.org:10004 [2022-10-25T09:01:21.904Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T09:01:21.904Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T09:01:21.904Z] Configure a credential helper to remove this warning. See [2022-10-25T09:01:21.904Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T09:01:21.904Z] [2022-10-25T09:01:21.904Z] Login Succeeded [2022-10-25T09:01:21.904Z] docker.io [2022-10-25T09:01:22.174Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T09:01:22.759Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T09:01:22.759Z] Configure a credential helper to remove this warning. See [2022-10-25T09:01:22.759Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T09:01:22.759Z] [2022-10-25T09:01:22.759Z] Login Succeeded [2022-10-25T09:01:22.759Z] ---> docker-login.sh ends [Pipeline] } [2022-10-25T09:01:22.788Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-25T09:01:23.056Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-25T09:01:23.089Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-25T09:01:23.119Z] ========================================================= [2022-10-25T09:01:23.119Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-25T09:01:23.119Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T09:01:23.599Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-25T09:01:23.870Z] Sending build context to Docker daemon 1.024MB [2022-10-25T09:01:23.870Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-25T09:01:23.870Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-25T09:01:24.150Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-25T09:01:24.150Z] 9b18e9b68314: Pulling fs layer [2022-10-25T09:01:24.150Z] d32db5db7311: Pulling fs layer [2022-10-25T09:01:24.150Z] d0c4b47475fc: Pulling fs layer [2022-10-25T09:01:24.150Z] 5831b945b038: Pulling fs layer [2022-10-25T09:01:24.150Z] 86bbec2aaacd: Pulling fs layer [2022-10-25T09:01:24.150Z] e10730c5d714: Pulling fs layer [2022-10-25T09:01:24.150Z] 5dd5c2283517: Pulling fs layer [2022-10-25T09:01:24.150Z] d5ac0230b979: Pulling fs layer [2022-10-25T09:01:24.150Z] e10730c5d714: Waiting [2022-10-25T09:01:24.150Z] 5831b945b038: Waiting [2022-10-25T09:01:24.150Z] 86bbec2aaacd: Waiting [2022-10-25T09:01:24.150Z] 5dd5c2283517: Waiting [2022-10-25T09:01:24.150Z] d5ac0230b979: Waiting [2022-10-25T09:01:24.150Z] d0c4b47475fc: Verifying Checksum [2022-10-25T09:01:24.150Z] d0c4b47475fc: Download complete [2022-10-25T09:01:24.150Z] d32db5db7311: Verifying Checksum [2022-10-25T09:01:24.150Z] d32db5db7311: Download complete [2022-10-25T09:01:24.150Z] 86bbec2aaacd: Verifying Checksum [2022-10-25T09:01:24.150Z] 86bbec2aaacd: Download complete [2022-10-25T09:01:24.150Z] e10730c5d714: Verifying Checksum [2022-10-25T09:01:24.150Z] e10730c5d714: Download complete [2022-10-25T09:01:24.150Z] 9b18e9b68314: Verifying Checksum [2022-10-25T09:01:24.150Z] 9b18e9b68314: Download complete [2022-10-25T09:01:25.132Z] 9b18e9b68314: Pull complete [2022-10-25T09:01:25.132Z] d5ac0230b979: Verifying Checksum [2022-10-25T09:01:25.132Z] d5ac0230b979: Download complete [2022-10-25T09:01:25.725Z] d32db5db7311: Pull complete [2022-10-25T09:01:25.996Z] d0c4b47475fc: Pull complete [2022-10-25T09:01:26.586Z] 5dd5c2283517: Verifying Checksum [2022-10-25T09:01:26.586Z] 5dd5c2283517: Download complete [2022-10-25T09:01:27.177Z] 5831b945b038: Verifying Checksum [2022-10-25T09:01:27.177Z] 5831b945b038: Download complete [2022-10-25T09:01:39.536Z] 5831b945b038: Pull complete [2022-10-25T09:01:39.536Z] 86bbec2aaacd: Pull complete [2022-10-25T09:01:39.806Z] e10730c5d714: Pull complete [2022-10-25T09:01:46.479Z] 5dd5c2283517: Pull complete [2022-10-25T09:01:49.089Z] d5ac0230b979: Pull complete [2022-10-25T09:01:49.089Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-25T09:01:49.089Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-25T09:01:49.089Z] ---> 59b3b1a385d4 [2022-10-25T09:01:49.089Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-25T09:01:49.696Z] ---> Running in c015ebb08fa9 [2022-10-25T09:01:49.964Z] Removing intermediate container c015ebb08fa9 [2022-10-25T09:01:49.964Z] ---> f9531d19df97 [2022-10-25T09:01:49.964Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-25T09:01:50.262Z] ---> Running in f51f02dc46c3 [2022-10-25T09:01:50.530Z] Removing intermediate container f51f02dc46c3 [2022-10-25T09:01:50.530Z] ---> d2053c3a2e71 [2022-10-25T09:01:50.530Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" [2022-10-25T09:01:50.530Z] ---> Running in 2880592d673a [2022-10-25T09:01:51.116Z] Removing intermediate container 2880592d673a [2022-10-25T09:01:51.116Z] ---> 785fdd99a5e6 [2022-10-25T09:01:51.116Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-10-25T09:01:51.116Z] ---> Running in 95e46eaf23af [2022-10-25T09:01:51.385Z] Removing intermediate container 95e46eaf23af [2022-10-25T09:01:51.385Z] ---> 3986c807f250 [2022-10-25T09:01:51.385Z] Step 7/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-25T09:01:51.385Z] ---> Running in 29d01fa5c4d4 [2022-10-25T09:01:53.346Z] Removing intermediate container 29d01fa5c4d4 [2022-10-25T09:01:53.346Z] ---> 00a0dc29e4db [2022-10-25T09:01:53.346Z] Step 8/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-25T09:01:53.346Z] ---> Running in 3f290eba5c2e [2022-10-25T09:01:54.315Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-25T09:01:55.290Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-25T09:01:56.269Z] (1/14) Installing libintl (0.21-r2) [2022-10-25T09:01:56.269Z] (2/14) Installing eudev-libs (3.2.11-r0) [2022-10-25T09:01:56.269Z] (3/14) Installing libjpeg-turbo (2.1.3-r1) [2022-10-25T09:01:56.536Z] (4/14) Installing v4l-utils-libs (1.22.1-r1) [2022-10-25T09:01:56.536Z] (5/14) Installing v4l-utils (1.22.1-r1) [2022-10-25T09:01:56.805Z] (6/14) Installing udev-init-scripts (35-r0) [2022-10-25T09:01:56.805Z] Executing udev-init-scripts-35-r0.post-install [2022-10-25T09:01:56.805Z] (7/14) Installing libblkid (2.38-r1) [2022-10-25T09:01:56.805Z] (8/14) Installing xz-libs (5.2.5-r1) [2022-10-25T09:01:57.073Z] (9/14) Installing zstd-libs (1.5.2-r1) [2022-10-25T09:01:57.073Z] (10/14) Installing kmod-libs (29-r2) [2022-10-25T09:01:57.345Z] (11/14) Installing eudev (3.2.11-r0) [2022-10-25T09:01:57.345Z] (12/14) Installing eudev-dev (3.2.11-r0) [2022-10-25T09:01:57.345Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) [2022-10-25T09:01:57.616Z] (14/14) Installing v4l-utils-dev (1.22.1-r1) [2022-10-25T09:01:57.616Z] Executing busybox-1.35.0-r17.trigger [2022-10-25T09:01:57.616Z] Executing eudev-3.2.11-r0.trigger [2022-10-25T09:01:57.616Z] OK: 228 MiB in 65 packages [2022-10-25T09:01:59.567Z] Removing intermediate container 3f290eba5c2e [2022-10-25T09:01:59.567Z] ---> ca9c59275810 [2022-10-25T09:01:59.567Z] Step 9/14 : WORKDIR /device-usb-camera [2022-10-25T09:01:59.567Z] ---> Running in 9b253839c6cf [2022-10-25T09:01:59.567Z] Removing intermediate container 9b253839c6cf [2022-10-25T09:01:59.567Z] ---> 3f17d0718cc6 [2022-10-25T09:01:59.567Z] Step 10/14 : COPY go.mod vendor* ./ [2022-10-25T09:02:00.154Z] ---> 573d6649a9dd [2022-10-25T09:02:00.154Z] Step 11/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-25T09:02:00.423Z] ---> Running in fb9d32e99361 [2022-10-25T09:02:56.854Z] Removing intermediate container fb9d32e99361 [2022-10-25T09:02:56.854Z] ---> 74b31e2f6d6b [2022-10-25T09:02:56.854Z] Step 12/14 : COPY . . [2022-10-25T09:02:56.854Z] ---> 916f1645f422 [2022-10-25T09:02:56.854Z] Step 13/14 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2022-10-25T09:02:56.854Z] ---> Running in 4bdc7eed1e9c [2022-10-25T09:02:56.854Z]   % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-25T09:02:56.854Z]  Dload Upload Total Spent Left Speed [2022-10-25T09:02:56.854Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 6476 0 --:--:-- --:--:-- --:--:-- 6515 [2022-10-25T09:02:56.854Z] Removing intermediate container 4bdc7eed1e9c [2022-10-25T09:02:56.854Z] ---> e89313a24e36 [2022-10-25T09:02:56.854Z] Step 14/14 : RUN ${MAKE} [2022-10-25T09:02:56.854Z] ---> Running in 6eb114126950 [2022-10-25T09:02:57.121Z] noop [2022-10-25T09:02:57.725Z] Removing intermediate container 6eb114126950 [2022-10-25T09:02:57.725Z] ---> 8a2855165e0a [2022-10-25T09:02:57.725Z] Successfully built 8a2855165e0a [2022-10-25T09:02:57.725Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T09:02:58.197Z] + docker inspect -f . ci-base-image-arm64 [2022-10-25T09:02:58.197Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T09:02:58.457Z] prd-ubuntu20.04-docker-arm64-4c-16g-116821 does not seem to be running inside a container [2022-10-25T09:02:58.524Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-25T09:02:59.717Z] $ docker top 8008c9f245895ca131fd21d794dc00185483fd4855b599b9393f4702a670d637 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T09:03:00.593Z] + go version [2022-10-25T09:03:00.593Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-25T09:03:00.619Z] $ docker stop --time=1 8008c9f245895ca131fd21d794dc00185483fd4855b599b9393f4702a670d637 [2022-10-25T09:03:02.272Z] $ docker rm -f 8008c9f245895ca131fd21d794dc00185483fd4855b599b9393f4702a670d637 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T09:03:03.139Z] + docker inspect -f . ci-base-image-arm64 [2022-10-25T09:03:03.139Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T09:03:03.381Z] prd-ubuntu20.04-docker-arm64-4c-16g-116821 does not seem to be running inside a container [2022-10-25T09:03:03.441Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-25T09:03:04.685Z] $ docker top a767749ca9375be873da8b2942f64d2fa32fc6d4c423a765e66ee70f8da73a34 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T09:03:05.600Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/1 [Pipeline] fileExists [Pipeline] sh [2022-10-25T09:03:06.309Z] + make test [2022-10-25T09:03:06.309Z] CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... [2022-10-25T09:03:07.720Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2022-10-25T09:04:59.410Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2022-10-25T09:04:59.410Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.081s coverage: 1.9% of statements [2022-10-25T09:04:59.410Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-25T09:04:59.410Z] CGO_ENABLED=1 go vet ./... [2022-10-25T09:05:26.117Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-25T09:05:26.117Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-25T09:05:26.117Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-25T09:05:26.155Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-25T09:05:26.184Z] $ docker stop --time=1 a767749ca9375be873da8b2942f64d2fa32fc6d4c423a765e66ee70f8da73a34 [2022-10-25T09:05:28.163Z] $ docker rm -f a767749ca9375be873da8b2942f64d2fa32fc6d4c423a765e66ee70f8da73a34 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-25T09:05:29.311Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-25T09:05:29.348Z] Warning: overwriting stash ‘coverage-report’ [2022-10-25T09:05:29.900Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-25T09:05:30.504Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-25T09:05:30.869Z] + ls -al . [2022-10-25T09:05:30.869Z] total 200 [2022-10-25T09:05:30.869Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 25 09:03 . [2022-10-25T09:05:30.869Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 09:00 .. [2022-10-25T09:05:30.869Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 09:00 .git [2022-10-25T09:05:30.869Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 09:00 .github [2022-10-25T09:05:30.869Z] -rw-rw-r-- 1 jenkins jenkins 414 Oct 25 09:00 .gitignore [2022-10-25T09:05:30.869Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 25 09:00 .golangci.yml [2022-10-25T09:05:30.869Z] -rw-rw-r-- 1 jenkins jenkins 77 Oct 25 09:00 .hadolint.yml [2022-10-25T09:05:30.869Z] -rw-rw-r-- 1 jenkins jenkins 9702 Oct 25 09:00 Attribution.txt [2022-10-25T09:05:30.869Z] -rw-rw-r-- 1 jenkins jenkins 1206 Oct 25 09:00 CHANGELOG.md [2022-10-25T09:05:30.869Z] -rw-rw-r-- 1 jenkins jenkins 2467 Oct 25 09:00 Dockerfile [2022-10-25T09:05:30.869Z] -rw-rw-r-- 1 jenkins jenkins 678 Oct 25 09:00 GOVERNANCE.md [2022-10-25T09:05:30.869Z] -rw-rw-r-- 1 jenkins jenkins 659 Oct 25 09:00 Jenkinsfile [2022-10-25T09:05:30.869Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 25 09:00 LICENSE [2022-10-25T09:05:30.869Z] -rw-rw-r-- 1 jenkins jenkins 2554 Oct 25 09:00 Makefile [2022-10-25T09:05:30.869Z] -rw-rw-r-- 1 jenkins jenkins 622 Oct 25 09:00 OWNERS.md [2022-10-25T09:05:30.869Z] -rw-rw-r-- 1 jenkins jenkins 5773 Oct 25 09:00 README.md [2022-10-25T09:05:30.869Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 25 08:20 VERSION [2022-10-25T09:05:30.869Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 09:00 bin [2022-10-25T09:05:30.869Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 09:00 cmd [2022-10-25T09:05:30.869Z] -rw-r--r-- 1 jenkins jenkins 29387 Oct 25 09:04 coverage.out [2022-10-25T09:05:30.869Z] -rwxrwxr-x 1 jenkins jenkins 140 Oct 25 09:00 docker-entrypoint.sh [2022-10-25T09:05:30.869Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 09:00 docs [2022-10-25T09:05:30.869Z] -rw-rw-r-- 1 jenkins jenkins 3621 Oct 25 09:00 go.mod [2022-10-25T09:05:30.869Z] -rw-rw-r-- 1 jenkins jenkins 45122 Oct 25 09:00 go.sum [2022-10-25T09:05:30.869Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 09:00 internal [2022-10-25T09:05:30.869Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 09:00 snap [2022-10-25T09:05:30.869Z] -rw-rw-r-- 1 jenkins jenkins 231 Oct 25 09:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T09:05:31.436Z] + 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=345b3c5613ae76c94415a58ddb707d834bfcb682 --label arch=arm64 --label version=0.0.0 . [2022-10-25T09:05:31.705Z] Sending build context to Docker daemon 1.054MB [2022-10-25T09:05:31.974Z] Step 1/36 : ARG BASE=golang:1.18-alpine3.16 [2022-10-25T09:05:31.974Z] Step 2/36 : FROM ${BASE} AS builder [2022-10-25T09:05:31.974Z] ---> 8a2855165e0a [2022-10-25T09:05:31.974Z] Step 3/36 : ARG ADD_BUILD_TAGS="" [2022-10-25T09:05:32.245Z] ---> Running in 19752df1df21 [2022-10-25T09:05:32.514Z] Removing intermediate container 19752df1df21 [2022-10-25T09:05:32.514Z] ---> d5f175fe1c2a [2022-10-25T09:05:32.514Z] Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-25T09:05:32.514Z] ---> Running in c2c21c49366a [2022-10-25T09:05:33.101Z] Removing intermediate container c2c21c49366a [2022-10-25T09:05:33.101Z] ---> 3226521fe398 [2022-10-25T09:05:33.101Z] Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" [2022-10-25T09:05:33.101Z] ---> Running in e7905eddc573 [2022-10-25T09:05:33.391Z] Removing intermediate container e7905eddc573 [2022-10-25T09:05:33.391Z] ---> 2959e39c54d9 [2022-10-25T09:05:33.391Z] Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-10-25T09:05:33.673Z] ---> Running in be37b942d2c7 [2022-10-25T09:05:33.943Z] Removing intermediate container be37b942d2c7 [2022-10-25T09:05:33.943Z] ---> 35e1fc857a45 [2022-10-25T09:05:33.943Z] Step 7/36 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-25T09:05:33.943Z] ---> Running in 1cc7bffbc070 [2022-10-25T09:05:36.087Z] Removing intermediate container 1cc7bffbc070 [2022-10-25T09:05:36.087Z] ---> 2d1d5b0b5f74 [2022-10-25T09:05:36.087Z] Step 8/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-25T09:05:36.087Z] ---> Running in 60e94649fedd [2022-10-25T09:05:37.578Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-25T09:05:39.585Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-25T09:05:42.932Z] OK: 228 MiB in 65 packages [2022-10-25T09:05:43.897Z] Removing intermediate container 60e94649fedd [2022-10-25T09:05:43.897Z] ---> 874980eb0ad7 [2022-10-25T09:05:43.897Z] Step 9/36 : WORKDIR /device-usb-camera [2022-10-25T09:05:43.897Z] ---> Running in bbc3596b66ac [2022-10-25T09:05:44.495Z] Removing intermediate container bbc3596b66ac [2022-10-25T09:05:44.495Z] ---> 11c36b340dd6 [2022-10-25T09:05:44.495Z] Step 10/36 : COPY go.mod vendor* ./ [2022-10-25T09:05:45.101Z] ---> 07f35743fd9e [2022-10-25T09:05:45.101Z] Step 11/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-25T09:05:45.101Z] ---> Running in 95a96bf44d68 [2022-10-25T09:05:47.714Z] Removing intermediate container 95a96bf44d68 [2022-10-25T09:05:47.714Z] ---> d5ab11c79595 [2022-10-25T09:05:47.714Z] Step 12/36 : COPY . . [2022-10-25T09:05:48.688Z] ---> f2aa51e8093c [2022-10-25T09:05:48.688Z] Step 13/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2022-10-25T09:05:48.958Z] ---> Running in 6989090f4bcc [2022-10-25T09:05:49.920Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-25T09:05:49.920Z] Dload Upload Total Spent Left Speed [2022-10-25T09:05:50.191Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 12351 0 --:--:-- --:--:-- --:--:-- 12494 [2022-10-25T09:05:50.796Z] Removing intermediate container 6989090f4bcc [2022-10-25T09:05:50.796Z] ---> f70b0844e1f5 [2022-10-25T09:05:50.796Z] Step 14/36 : RUN ${MAKE} [2022-10-25T09:05:51.063Z] ---> Running in e9f6e3b50c48 [2022-10-25T09:05:52.480Z] CGO_ENABLED=1 go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.46" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd [2022-10-25T09:08:44.279Z] Removing intermediate container e9f6e3b50c48 [2022-10-25T09:08:44.279Z] ---> 9d04736f6487 [2022-10-25T09:08:44.279Z] Step 15/36 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp [2022-10-25T09:08:44.279Z] v0.18.4: Pulling from aler9/rtsp-simple-server [2022-10-25T09:08:44.279Z] eab2503cf8f4: Pulling fs layer [2022-10-25T09:08:44.279Z] 97cd0a44c592: Pulling fs layer [2022-10-25T09:08:44.279Z] 97cd0a44c592: Download complete [2022-10-25T09:08:44.279Z] eab2503cf8f4: Verifying Checksum [2022-10-25T09:08:44.279Z] eab2503cf8f4: Download complete [2022-10-25T09:08:44.279Z] eab2503cf8f4: Pull complete [2022-10-25T09:08:44.279Z] 97cd0a44c592: Pull complete [2022-10-25T09:08:44.279Z] Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 [2022-10-25T09:08:44.279Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 [2022-10-25T09:08:44.279Z] ---> 7f763cca56b3 [2022-10-25T09:08:44.279Z] Step 16/36 : FROM alpine:3.16 [2022-10-25T09:08:44.279Z] 3.16: Pulling from library/alpine [2022-10-25T09:08:44.279Z] 9b18e9b68314: Already exists [2022-10-25T09:08:44.279Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-25T09:08:44.279Z] Status: Downloaded newer image for alpine:3.16 [2022-10-25T09:08:44.279Z] ---> a6215f271958 [2022-10-25T09:08:44.280Z] Step 17/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-25T09:08:44.280Z] ---> Running in 99ca44c03645 [2022-10-25T09:08:44.280Z] Removing intermediate container 99ca44c03645 [2022-10-25T09:08:44.280Z] ---> dcf8af1eea71 [2022-10-25T09:08:44.280Z] Step 18/36 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev [2022-10-25T09:08:44.280Z] ---> Running in d86873e0ca15 [2022-10-25T09:08:44.280Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-25T09:08:44.280Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-25T09:08:44.280Z] (1/82) Installing dumb-init (1.2.5-r1) [2022-10-25T09:08:44.280Z] (2/82) Installing sdl2 (2.0.22-r0) [2022-10-25T09:08:44.280Z] (3/82) Installing libxau (1.0.9-r0) [2022-10-25T09:08:44.280Z] (4/82) Installing libxdmcp (1.1.3-r0) [2022-10-25T09:08:44.280Z] (5/82) Installing libxcb (1.15-r0) [2022-10-25T09:08:44.280Z] (6/82) Installing libx11 (1.8-r0) [2022-10-25T09:08:44.280Z] (7/82) Installing aom-libs (3.3.0-r0) [2022-10-25T09:08:44.280Z] (8/82) Installing alsa-lib (1.2.7.2-r0) [2022-10-25T09:08:44.280Z] (9/82) Installing expat (2.4.9-r0) [2022-10-25T09:08:44.280Z] (10/82) Installing brotli-libs (1.0.9-r6) [2022-10-25T09:08:44.280Z] (11/82) Installing libbz2 (1.0.8-r1) [2022-10-25T09:08:44.280Z] (12/82) Installing libpng (1.6.37-r1) [2022-10-25T09:08:44.280Z] (13/82) Installing freetype (2.12.1-r0) [2022-10-25T09:08:44.280Z] (14/82) Installing fontconfig (2.14.0-r0) [2022-10-25T09:08:44.280Z] (15/82) Installing fribidi (1.0.12-r0) [2022-10-25T09:08:44.280Z] (16/82) Installing libffi (3.4.2-r1) [2022-10-25T09:08:44.280Z] (17/82) Installing libintl (0.21-r2) [2022-10-25T09:08:44.280Z] (18/82) Installing libblkid (2.38-r1) [2022-10-25T09:08:44.280Z] (19/82) Installing libmount (2.38-r1) [2022-10-25T09:08:44.280Z] (20/82) Installing pcre (8.45-r2) [2022-10-25T09:08:44.280Z] (21/82) Installing glib (2.72.1-r0) [2022-10-25T09:08:44.280Z] (22/82) Installing graphite2 (1.3.14-r1) [2022-10-25T09:08:44.280Z] (23/82) Installing harfbuzz (4.3.0-r0) [2022-10-25T09:08:44.280Z] (24/82) Installing libass (0.16.0-r0) [2022-10-25T09:08:44.280Z] (25/82) Installing libdav1d (1.0.0-r0) [2022-10-25T09:08:44.280Z] (26/82) Installing libdrm (2.4.110-r0) [2022-10-25T09:08:44.280Z] (27/82) Installing gmp (6.2.1-r2) [2022-10-25T09:08:44.280Z] (28/82) Installing nettle (3.7.3-r0) [2022-10-25T09:08:44.280Z] (29/82) Installing p11-kit (0.24.1-r0) [2022-10-25T09:08:44.280Z] (30/82) Installing libtasn1 (4.18.0-r0) [2022-10-25T09:08:44.280Z] (31/82) Installing libunistring (1.0-r0) [2022-10-25T09:08:44.280Z] (32/82) Installing gnutls (3.7.7-r0) [2022-10-25T09:08:44.280Z] (33/82) Installing ncurses-terminfo-base (6.3_p20220521-r0) [2022-10-25T09:08:44.280Z] (34/82) Installing ncurses-libs (6.3_p20220521-r0) [2022-10-25T09:08:44.280Z] (35/82) Installing lame (3.100-r0) [2022-10-25T09:08:44.280Z] (36/82) Installing opus (1.3.1-r1) [2022-10-25T09:08:44.280Z] (37/82) Installing libasyncns (0.8-r1) [2022-10-25T09:08:44.280Z] (38/82) Installing dbus-libs (1.14.4-r0) [2022-10-25T09:08:44.280Z] (39/82) Installing libltdl (2.4.7-r0) [2022-10-25T09:08:44.280Z] (40/82) Installing orc (0.4.32-r0) [2022-10-25T09:08:44.280Z] (41/82) Installing libgcc (11.2.1_git20220219-r2) [2022-10-25T09:08:44.280Z] (42/82) Installing libogg (1.3.5-r1) [2022-10-25T09:08:44.280Z] (43/82) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-25T09:08:44.280Z] (44/82) Installing flac (1.3.4-r0) [2022-10-25T09:08:44.280Z] (45/82) Installing libvorbis (1.3.7-r0) [2022-10-25T09:08:44.280Z] (46/82) Installing libsndfile (1.1.0-r0) [2022-10-25T09:08:44.280Z] (47/82) Installing libgomp (11.2.1_git20220219-r2) [2022-10-25T09:08:44.280Z] (48/82) Installing soxr (0.1.3-r2) [2022-10-25T09:08:44.280Z] (49/82) Installing speexdsp (1.2.0-r0) [2022-10-25T09:08:44.280Z] (50/82) Installing tdb-libs (1.4.6-r0) [2022-10-25T09:08:44.280Z] (51/82) Installing libpulse (15.0-r2) [2022-10-25T09:08:44.280Z] (52/82) Installing cjson (1.7.15-r3) [2022-10-25T09:08:44.280Z] (53/82) Installing mbedtls (2.28.1-r0) [2022-10-25T09:08:44.280Z] (54/82) Installing librist (0.2.6-r1) [2022-10-25T09:08:44.280Z] (55/82) Installing libsrt (1.4.4-r0) [2022-10-25T09:08:44.280Z] (56/82) Installing libssh (0.9.6-r1) [2022-10-25T09:08:44.280Z] (57/82) Installing libtheora (1.1.1-r16) [2022-10-25T09:08:44.280Z] (58/82) Installing libjpeg-turbo (2.1.3-r1) [2022-10-25T09:08:44.280Z] (59/82) Installing v4l-utils-libs (1.22.1-r1) [2022-10-25T09:08:44.280Z] (60/82) Installing libxext (1.3.4-r0) [2022-10-25T09:08:44.280Z] (61/82) Installing libxfixes (6.0.0-r0) [2022-10-25T09:08:44.280Z] (62/82) Installing wayland-libs-client (1.20.0-r0) [2022-10-25T09:08:44.280Z] (63/82) Installing libva (2.14.0-r0) [2022-10-25T09:08:44.280Z] (64/82) Installing libvdpau (1.5-r0) [2022-10-25T09:08:44.280Z] (65/82) Installing vidstab (1.1.0-r1) [2022-10-25T09:08:44.280Z] (66/82) Installing libvpx (1.11.0-r1) [2022-10-25T09:08:44.280Z] (67/82) Installing libwebp (1.2.3-r0) [2022-10-25T09:08:44.280Z] (68/82) Installing x264-libs (0.163_git20210613-r0) [2022-10-25T09:08:44.280Z] (69/82) Installing numactl (2.0.14-r0) [2022-10-25T09:08:44.280Z] (70/82) Installing x265-libs (3.5-r3) [2022-10-25T09:08:44.280Z] (71/82) Installing xvidcore (1.3.7-r1) [2022-10-25T09:08:44.280Z] (72/82) Installing ffmpeg-libs (5.0.1-r1) [2022-10-25T09:08:44.280Z] (73/82) Installing ffmpeg (5.0.1-r1) [2022-10-25T09:08:44.280Z] (74/82) Installing udev-init-scripts (35-r0) [2022-10-25T09:08:44.280Z] Executing udev-init-scripts-35-r0.post-install [2022-10-25T09:08:44.280Z] (75/82) Installing eudev-libs (3.2.11-r0) [2022-10-25T09:08:44.280Z] (76/82) Installing xz-libs (5.2.5-r1) [2022-10-25T09:08:44.280Z] (77/82) Installing zstd-libs (1.5.2-r1) [2022-10-25T09:08:44.280Z] (78/82) Installing kmod-libs (29-r2) [2022-10-25T09:08:44.280Z] (79/82) Installing eudev (3.2.11-r0) [2022-10-25T09:08:44.280Z] (80/82) Installing libsodium (1.0.18-r0) [2022-10-25T09:08:44.280Z] (81/82) Installing libzmq (4.3.4-r0) [2022-10-25T09:08:44.280Z] (82/82) Installing zeromq (4.3.4-r0) [2022-10-25T09:08:44.280Z] Executing busybox-1.35.0-r17.trigger [2022-10-25T09:08:44.280Z] Executing eudev-3.2.11-r0.trigger [2022-10-25T09:08:44.280Z] OK: 78 MiB in 96 packages [2022-10-25T09:08:44.280Z] Removing intermediate container d86873e0ca15 [2022-10-25T09:08:44.280Z] ---> 34e6c5728ef4 [2022-10-25T09:08:44.280Z] Step 19/36 : WORKDIR / [2022-10-25T09:08:44.280Z] ---> Running in ba71b296559a [2022-10-25T09:08:44.280Z] Removing intermediate container ba71b296559a [2022-10-25T09:08:44.280Z] ---> fdc6710a2c7b [2022-10-25T09:08:44.280Z] Step 20/36 : COPY --from=builder /device-usb-camera/cmd / [2022-10-25T09:08:44.547Z] ---> b09abdb3916b [2022-10-25T09:08:44.547Z] Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE / [2022-10-25T09:08:45.132Z] ---> a8734b5cade9 [2022-10-25T09:08:45.132Z] Step 22/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2022-10-25T09:08:45.718Z] ---> d0fda6bcb8c3 [2022-10-25T09:08:45.718Z] Step 23/36 : COPY --from=builder /device-usb-camera/Attribution.txt / [2022-10-25T09:08:45.984Z] ---> ed0c7b9abed7 [2022-10-25T09:08:45.984Z] Step 24/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2022-10-25T09:08:46.569Z] ---> ef2f1157ad4b [2022-10-25T09:08:46.569Z] Step 25/36 : COPY --from=rtsp /rtsp-simple-server.yml / [2022-10-25T09:08:47.155Z] ---> 6da74f31a860 [2022-10-25T09:08:47.155Z] Step 26/36 : COPY --from=rtsp /rtsp-simple-server / [2022-10-25T09:08:48.565Z] ---> aa4a307f2a6c [2022-10-25T09:08:48.565Z] Step 27/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2022-10-25T09:08:48.565Z] ---> Running in 2f6fece2ae8d [2022-10-25T09:08:50.513Z] Removing intermediate container 2f6fece2ae8d [2022-10-25T09:08:50.513Z] ---> fa0887d61116 [2022-10-25T09:08:50.513Z] Step 28/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2022-10-25T09:08:50.513Z] ---> Running in 9701322e42cd [2022-10-25T09:08:51.934Z] Removing intermediate container 9701322e42cd [2022-10-25T09:08:51.934Z] ---> b202aa58b8f6 [2022-10-25T09:08:51.934Z] Step 29/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2022-10-25T09:08:51.934Z] ---> Running in 48f7452c53da [2022-10-25T09:08:53.898Z] Removing intermediate container 48f7452c53da [2022-10-25T09:08:53.898Z] ---> 997c1beb5343 [2022-10-25T09:08:53.898Z] Step 30/36 : EXPOSE 59983 [2022-10-25T09:08:53.898Z] ---> Running in 6105325eff21 [2022-10-25T09:08:54.167Z] Removing intermediate container 6105325eff21 [2022-10-25T09:08:54.167Z] ---> 61599fe4710b [2022-10-25T09:08:54.167Z] Step 31/36 : EXPOSE 8554 [2022-10-25T09:08:54.167Z] ---> Running in 36dc9b9941c2 [2022-10-25T09:08:54.439Z] Removing intermediate container 36dc9b9941c2 [2022-10-25T09:08:54.439Z] ---> 45f92997a7fb [2022-10-25T09:08:54.439Z] Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] [2022-10-25T09:08:54.707Z] ---> Running in 2b7f7a6e7e25 [2022-10-25T09:08:54.975Z] Removing intermediate container 2b7f7a6e7e25 [2022-10-25T09:08:54.975Z] ---> d26320b27e50 [2022-10-25T09:08:54.975Z] Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] [2022-10-25T09:08:54.975Z] ---> Running in 87e38e6ca280 [2022-10-25T09:08:55.243Z] Removing intermediate container 87e38e6ca280 [2022-10-25T09:08:55.243Z] ---> 1866b12f1ad6 [2022-10-25T09:08:55.243Z] Step 34/36 : LABEL arch=arm64 [2022-10-25T09:08:55.513Z] ---> Running in 06d3e8fd4ca9 [2022-10-25T09:08:55.781Z] Removing intermediate container 06d3e8fd4ca9 [2022-10-25T09:08:55.781Z] ---> 5f9c15cb7cf2 [2022-10-25T09:08:55.781Z] Step 35/36 : LABEL git_sha=345b3c5613ae76c94415a58ddb707d834bfcb682 [2022-10-25T09:08:55.781Z] ---> Running in f743d229eedf [2022-10-25T09:08:56.053Z] Removing intermediate container f743d229eedf [2022-10-25T09:08:56.053Z] ---> fdccf1385b63 [2022-10-25T09:08:56.053Z] Step 36/36 : LABEL version=0.0.0 [2022-10-25T09:08:56.322Z] ---> Running in 5fcb21b270ce [2022-10-25T09:08:56.589Z] Removing intermediate container 5fcb21b270ce [2022-10-25T09:08:56.589Z] ---> ea269e2d25cd [2022-10-25T09:08:56.589Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-25T09:08:56.589Z] Successfully built ea269e2d25cd [2022-10-25T09:08:56.589Z] 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 [2022-10-25T09:08:57.424Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-25T09:08:57.424Z] [2022-10-25T09:08:57.425Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T09:08:57.860Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-25T09:08:57.860Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-25T09:08:57.860Z] 8998bd30e6a1: Pulling fs layer [2022-10-25T09:08:57.860Z] 04944245beec: Pulling fs layer [2022-10-25T09:08:57.860Z] 699f458cf7ca: Pulling fs layer [2022-10-25T09:08:57.860Z] 765212b225bb: Pulling fs layer [2022-10-25T09:08:57.860Z] f23df028b6ca: Pulling fs layer [2022-10-25T09:08:57.860Z] d65c8cfc05b1: Pulling fs layer [2022-10-25T09:08:57.860Z] 2437ff75d9bd: Pulling fs layer [2022-10-25T09:08:57.860Z] 765212b225bb: Waiting [2022-10-25T09:08:57.860Z] f23df028b6ca: Waiting [2022-10-25T09:08:57.860Z] 2437ff75d9bd: Waiting [2022-10-25T09:08:57.860Z] d65c8cfc05b1: Waiting [2022-10-25T09:08:58.130Z] 04944245beec: Verifying Checksum [2022-10-25T09:08:58.130Z] 04944245beec: Download complete [2022-10-25T09:08:58.130Z] 765212b225bb: Verifying Checksum [2022-10-25T09:08:58.130Z] 765212b225bb: Download complete [2022-10-25T09:08:58.130Z] f23df028b6ca: Verifying Checksum [2022-10-25T09:08:58.130Z] f23df028b6ca: Download complete [2022-10-25T09:08:58.130Z] d65c8cfc05b1: Verifying Checksum [2022-10-25T09:08:58.130Z] d65c8cfc05b1: Download complete [2022-10-25T09:08:58.401Z] 699f458cf7ca: Verifying Checksum [2022-10-25T09:08:58.401Z] 699f458cf7ca: Download complete [2022-10-25T09:08:58.670Z] 8998bd30e6a1: Verifying Checksum [2022-10-25T09:08:58.670Z] 8998bd30e6a1: Download complete [2022-10-25T09:09:01.256Z] 2437ff75d9bd: Verifying Checksum [2022-10-25T09:09:01.256Z] 2437ff75d9bd: Download complete [2022-10-25T09:09:02.667Z] 8998bd30e6a1: Pull complete [2022-10-25T09:09:03.254Z] 04944245beec: Pull complete [2022-10-25T09:09:04.666Z] 699f458cf7ca: Pull complete [2022-10-25T09:09:04.933Z] 765212b225bb: Pull complete [2022-10-25T09:09:05.518Z] f23df028b6ca: Pull complete [2022-10-25T09:09:05.785Z] d65c8cfc05b1: Pull complete [2022-10-25T09:09:20.778Z] 2437ff75d9bd: Pull complete [2022-10-25T09:09:20.778Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-25T09:09:20.778Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-25T09:09:20.778Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T09:09:21.090Z] prd-ubuntu20.04-docker-arm64-4c-16g-116821 does not seem to be running inside a container [2022-10-25T09:09:21.152Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-25T09:09:23.819Z] $ docker top 5e4d7f006d9105bbaf60ac9e4c348a3dd973b428b356327c7894eb442dee6f51 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T09:09:24.389Z] ---> job-cost.sh [2022-10-25T09:09:24.655Z] lf-activate-venv: SKIPPING [2022-10-25T09:09:24.655Z] INFO: No Stack... [2022-10-25T09:09:24.919Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-25T09:09:25.877Z] INFO: Archiving Costs [Pipeline] sh [2022-10-25T09:09:26.215Z] + cat /w/workspace/device-usb-camera/1/archives/cost.csv [2022-10-25T09:09:26.216Z] + cut -d, -f6 [Pipeline] lock [2022-10-25T09:09:26.557Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-107-1-stack-cost] [2022-10-25T09:09:26.561Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-107-1-stack-cost] did not exist. Created. [2022-10-25T09:09:26.562Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-107-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-25T09:09:27.285Z] /w/workspace/device-usb-camera/1@tmp/durable-dc844d4b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-25T09:09:27.634Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-25T09:09:27.668Z] Warning: overwriting stash ‘stack-cost’ [2022-10-25T09:09:27.712Z] Stashed 1 file(s) [Pipeline] } [2022-10-25T09:09:27.728Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-107-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-25T09:09:27.800Z] $ docker stop --time=1 5e4d7f006d9105bbaf60ac9e4c348a3dd973b428b356327c7894eb442dee6f51 [2022-10-25T09:09:29.272Z] $ docker rm -f 5e4d7f006d9105bbaf60ac9e4c348a3dd973b428b356327c7894eb442dee6f51 [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 [2022-10-25T09:09:30.197Z] provisioning config files... [2022-10-25T09:09:30.204Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-107@tmp/config9894912629672020880tmp [Pipeline] { [Pipeline] sh [2022-10-25T09:09:30.536Z] + set +x [2022-10-25T09:09:30.536Z] + curl -s https://codecov.io/bash [2022-10-25T09:09:30.536Z] + bash -s -- [2022-10-25T09:09:30.536Z] [2022-10-25T09:09:30.536Z] _____ _ [2022-10-25T09:09:30.536Z] / ____| | | [2022-10-25T09:09:30.536Z] | | ___ __| | ___ ___ _____ __ [2022-10-25T09:09:30.536Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-25T09:09:30.536Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-25T09:09:30.536Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-25T09:09:30.536Z] Bash-1.0.6 [2022-10-25T09:09:30.536Z] [2022-10-25T09:09:30.536Z] [2022-10-25T09:09:30.536Z] ==> git version 2.25.1 found [2022-10-25T09:09:30.536Z] ==> 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 [2022-10-25T09:09:30.536Z] Release-Date: 2020-01-08 [2022-10-25T09:09:30.536Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-10-25T09:09:30.536Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-25T09:09:30.536Z] ==> Jenkins CI detected. [2022-10-25T09:09:30.536Z] current dir:  /w/workspace/foundry_device-usb-camera_PR-107 [2022-10-25T09:09:30.536Z] project root: . [2022-10-25T09:09:30.536Z] --> token set from env [2022-10-25T09:09:30.536Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-25T09:09:30.536Z] ==> Running gcov in . (disable via -X gcov) [2022-10-25T09:09:30.536Z] ==> Python coveragepy not found [2022-10-25T09:09:30.536Z] ==> Searching for coverage reports in: [2022-10-25T09:09:30.536Z] + . [2022-10-25T09:09:30.536Z] -> Found 1 reports [2022-10-25T09:09:30.536Z] ==> Detecting git/mercurial file structure [2022-10-25T09:09:30.536Z] ==> Reading reports [2022-10-25T09:09:30.536Z] + ./coverage.out bytes=29387 [2022-10-25T09:09:30.536Z] ==> Appending adjustments [2022-10-25T09:09:30.536Z] https://docs.codecov.io/docs/fixing-reports [2022-10-25T09:09:30.795Z] + Found adjustments [2022-10-25T09:09:30.795Z] ==> Gzipping contents [2022-10-25T09:09:30.795Z] 8.0K /tmp/codecov.jBZIsD.gz [2022-10-25T09:09:30.795Z] ==> Uploading reports [2022-10-25T09:09:30.795Z] url: https://codecov.io [2022-10-25T09:09:30.795Z] query: branch=PR-107&commit=345b3c5613ae76c94415a58ddb707d834bfcb682&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-107%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=107&job=&cmd_args= [2022-10-25T09:09:30.795Z] -> Pinging Codecov [2022-10-25T09:09:30.795Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-107&commit=345b3c5613ae76c94415a58ddb707d834bfcb682&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-107%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=107&job=&cmd_args= [2022-10-25T09:09:31.054Z] -> Uploading to [2022-10-25T09:09:31.054Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-25/73D8F5FF140700D3E01443B452E23636/345b3c5613ae76c94415a58ddb707d834bfcb682/dd922c23-e455-41c6-afbc-5a820ad67741.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221025%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221025T090930Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=45f58d2ef1aa0820cd0942476c56eeeec8f19b033a2c9e1a151d547899817017 [2022-10-25T09:09:31.054Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-25T09:09:31.054Z] Dload Upload Total Spent Left Speed [2022-10-25T09:09:31.313Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4191 0 0 100 4191 0 17910 --:--:-- --:--:-- --:--:-- 17910 [2022-10-25T09:09:31.313Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/345b3c5613ae76c94415a58ddb707d834bfcb682 [Pipeline] } [2022-10-25T09:09:31.338Z] 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 [2022-10-25T09:09:33.024Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-107/archives ] [2022-10-25T09:09:33.024Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-107/archives [2022-10-25T09:09:33.024Z] total 16 [2022-10-25T09:09:33.024Z] drwxr-xr-x 3 root root 4096 Oct 25 08:22 . [2022-10-25T09:09:33.024Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 25 08:22 .. [2022-10-25T09:09:33.024Z] drwxr-xr-x 2 root root 4096 Oct 25 08:22 cost [2022-10-25T09:09:33.024Z] -rw-r--r-- 1 root root 89 Oct 25 08:22 cost.csv [2022-10-25T09:09:33.024Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-107/archives [2022-10-25T09:09:33.024Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-107/archives [2022-10-25T09:09:33.024Z] total 16 [2022-10-25T09:09:33.024Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 08:22 . [2022-10-25T09:09:33.024Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 25 08:22 .. [2022-10-25T09:09:33.024Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 25 08:22 cost [2022-10-25T09:09:33.024Z] -rw-r--r-- 1 jenkins jenkins 89 Oct 25 08:22 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-25T09:09:33.350Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T09:09:34.230Z] ---> package-listing.sh [2022-10-25T09:09:34.230Z] ++ facter osfamily [2022-10-25T09:09:34.230Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-25T09:09:34.495Z] + OS_FAMILY=debian [2022-10-25T09:09:34.495Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-107 [2022-10-25T09:09:34.495Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-25T09:09:34.495Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-25T09:09:34.495Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-25T09:09:34.495Z] + PACKAGES=/tmp/packages_start.txt [2022-10-25T09:09:34.495Z] + '[' /w/workspace/foundry_device-usb-camera_PR-107 ']' [2022-10-25T09:09:34.495Z] + PACKAGES=/tmp/packages_end.txt [2022-10-25T09:09:34.495Z] + case "${OS_FAMILY}" in [2022-10-25T09:09:34.495Z] + dpkg -l [2022-10-25T09:09:34.495Z] + grep '^ii' [2022-10-25T09:09:34.495Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-25T09:09:34.495Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-25T09:09:34.495Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-25T09:09:34.495Z] + '[' /w/workspace/foundry_device-usb-camera_PR-107 ']' [2022-10-25T09:09:34.495Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-107/archives/ [2022-10-25T09:09:34.495Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-107/archives/ [Pipeline] echo [2022-10-25T09:09:34.526Z] 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-107/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-25T09:09:34.828Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T09:09:35.447Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-25T09:09:35.447Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T09:09:35.576Z] prd-ubuntu20.04-docker-8c-8g-116806 does not seem to be running inside a container [2022-10-25T09:09:35.576Z] $ 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-107/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-107 -v /w/workspace/foundry_device-usb-camera_PR-107:/w/workspace/foundry_device-usb-camera_PR-107:rw,z -v /w/workspace/foundry_device-usb-camera_PR-107@tmp:/w/workspace/foundry_device-usb-camera_PR-107@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-25T09:09:35.775Z] $ docker top 5a95035a0f3ca40ec765eede471d426a655a3d6b38470a68f2020f11174f821b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T09:09:36.198Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-25T09:09:36.505Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-25T09:09:36.822Z] + ls /var/log/sa-host [2022-10-25T09:09:36.823Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-25T09:09:36.953Z] provisioning config files... [2022-10-25T09:09:36.962Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-107@tmp/config6142746247335519071tmp [Pipeline] { [Pipeline] echo [2022-10-25T09:09:37.024Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T09:09:37.333Z] ---> create-netrc.sh [Pipeline] } [2022-10-25T09:09:37.360Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-25T09:09:37.751Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-25T09:09:37.781Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T09:09:38.087Z] ---> sudo-logs.sh [2022-10-25T09:09:38.087Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-25T09:09:38.171Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T09:09:38.479Z] ---> job-cost.sh [2022-10-25T09:09:38.479Z] lf-activate-venv: SKIPPING [2022-10-25T09:09:38.479Z] DEBUG: total: 0.2199999988079071 [2022-10-25T09:09:38.479Z] INFO: Retrieving Stack Cost... [2022-10-25T09:09:38.738Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-25T09:09:39.308Z] INFO: Archiving Costs [Pipeline] echo [2022-10-25T09:09:39.342Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T09:09:39.647Z] ---> logs-deploy.sh [2022-10-25T09:09:39.647Z] lf-activate-venv: SKIPPING [2022-10-25T09:09:39.647Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-107/1 [2022-10-25T09:09:39.647Z] INFO: archiving workspace using pattern(s): [2022-10-25T09:09:40.583Z] Archives upload complete. [2022-10-25T09:09:40.583Z] INFO: archiving logs to Nexus