Pull request #62 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-usb-camera Obtained Jenkinsfile from a5dbb17fea9ab8f061e05e2ab80c55fc5f98fbac+e07d484d1f5eb205c2c6f6ecd02e5a0c78a6dd12 (1a4c4f29be5994de88155e06f03b4ad1be4fea64) 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-ssh5310300020235567630.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh640492705356223473.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-62/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-62/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14050738799543477289.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8296242925249767930.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 6e371aaf151bd5004dee8fa40be4413046746612 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-62/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-62/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11092923356524580561.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 6e371aaf151bd5004dee8fa40be4413046746612 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 6e371aaf151bd5004dee8fa40be4413046746612 # timeout=10 Commit message: "Chore: Update global-jjb to the latest v0.79.1" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-usb-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-usb-camera-settings PROJECT: device-usb-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.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 Running on prd-ubuntu20.04-docker-8c-8g-21241 in /w/workspace/xfoundry_device-usb-camera_PR-62 [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/xfoundry_device-usb-camera_PR-62 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/62/head:refs/remotes/origin/PR-62 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit e07d484d1f5eb205c2c6f6ecd02e5a0c78a6dd12 into PR head commit a5dbb17fea9ab8f061e05e2ab80c55fc5f98fbac Merge succeeded, producing d8ce33f54bffff56d78fb8445f1b608d8e006155 Checking out Revision d8ce33f54bffff56d78fb8445f1b608d8e006155 (PR-62) > git config core.sparsecheckout # timeout=10 > git checkout -f a5dbb17fea9ab8f061e05e2ab80c55fc5f98fbac # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge e07d484d1f5eb205c2c6f6ecd02e5a0c78a6dd12 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d8ce33f54bffff56d78fb8445f1b608d8e006155 # timeout=10 Commit message: "Merge commit 'e07d484d1f5eb205c2c6f6ecd02e5a0c78a6dd12' into HEAD" > git rev-list --no-walk d4b89346d8861a6e61ca4129a9ea365d57e7a3ba # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-07-27T16:24:34.900Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-27T16:24:34.966Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-27T16:24:34.982Z] ========================================================= [2022-07-27T16:24:34.983Z] EdgeX Global Pipelines Version Info [2022-07-27T16:24:34.983Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-07-27T16:24:35.739Z] ------------------- [2022-07-27T16:24:35.739Z] stable info: [2022-07-27T16:24:35.739Z] ------------------- [2022-07-27T16:24:35.739Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-27T16:24:35.739Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-27T16:24:35.739Z] Message: update stable to v1.0.238 [2022-07-27T16:24:36.312Z] ------------------- [2022-07-27T16:24:36.312Z] experimental info: [2022-07-27T16:24:36.312Z] ------------------- [2022-07-27T16:24:36.312Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-27T16:24:36.312Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-27T16:24:36.312Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-27T16:24:36.559Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2022-07-27T16:24:36.568Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2022-07-27T16:24:36.576Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-27T16:24:36.589Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-27T16:24:36.601Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-27T16:24:36.614Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-07-27T16:24:36.624Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-27T16:24:36.635Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-07-27T16:24:36.646Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-27T16:24:36.659Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-27T16:24:36.669Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-27T16:24:36.682Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2022-07-27T16:24:36.691Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-27T16:24:36.701Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-27T16:24:36.712Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-27T16:24:36.722Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-07-27T16:24:36.733Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-27T16:24:36.743Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-27T16:24:36.752Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-27T16:24:36.762Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-27T16:24:36.772Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-07-27T16:24:36.783Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-07-27T16:24:36.793Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-27T16:24:36.804Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-27T16:24:36.816Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-27T16:24:36.827Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-27T16:24:36.837Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-27T16:24:36.847Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-62 [Pipeline] echo [2022-07-27T16:24:36.859Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-62 [Pipeline] echo [2022-07-27T16:24:36.878Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-62 [Pipeline] echo [2022-07-27T16:24:36.894Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d8ce33f54bffff56d78fb8445f1b608d8e006155 [Pipeline] echo [2022-07-27T16:24:36.907Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d8ce33f [Pipeline] echo [2022-07-27T16:24:36.919Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-27T16:24:36.960Z] provisioning config files... [2022-07-27T16:24:36.974Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-62@tmp/config5748440917419914419tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-27T16:24:37.307Z] ---> docker-login.sh [2022-07-27T16:24:37.307Z] nexus3.edgexfoundry.org:10001 [2022-07-27T16:24:37.569Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-27T16:24:37.830Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-27T16:24:37.830Z] Configure a credential helper to remove this warning. See [2022-07-27T16:24:37.830Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-27T16:24:37.830Z] [2022-07-27T16:24:37.830Z] Login Succeeded [2022-07-27T16:24:37.830Z] nexus3.edgexfoundry.org:10002 [2022-07-27T16:24:37.830Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-27T16:24:37.830Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-27T16:24:37.830Z] Configure a credential helper to remove this warning. See [2022-07-27T16:24:37.831Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-27T16:24:37.831Z] [2022-07-27T16:24:37.831Z] Login Succeeded [2022-07-27T16:24:37.831Z] nexus3.edgexfoundry.org:10003 [2022-07-27T16:24:38.092Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-27T16:24:38.092Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-27T16:24:38.092Z] Configure a credential helper to remove this warning. See [2022-07-27T16:24:38.092Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-27T16:24:38.092Z] [2022-07-27T16:24:38.092Z] Login Succeeded [2022-07-27T16:24:38.092Z] nexus3.edgexfoundry.org:10004 [2022-07-27T16:24:38.092Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-27T16:24:38.361Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-27T16:24:38.361Z] Configure a credential helper to remove this warning. See [2022-07-27T16:24:38.361Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-27T16:24:38.361Z] [2022-07-27T16:24:38.361Z] Login Succeeded [2022-07-27T16:24:38.361Z] docker.io [2022-07-27T16:24:38.361Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-27T16:24:38.624Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-27T16:24:38.624Z] Configure a credential helper to remove this warning. See [2022-07-27T16:24:38.624Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-27T16:24:38.624Z] [2022-07-27T16:24:38.624Z] Login Succeeded [2022-07-27T16:24:38.624Z] ---> docker-login.sh ends [Pipeline] } [2022-07-27T16:24:38.633Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-27T16:24:39.012Z] + git rev-list -1 --merges d8ce33f54bffff56d78fb8445f1b608d8e006155~1..d8ce33f54bffff56d78fb8445f1b608d8e006155 [Pipeline] echo [2022-07-27T16:24:39.043Z] -----------> git rev-list -1 --merges d8ce33f54bffff56d78fb8445f1b608d8e006155~1..d8ce33f54bffff56d78fb8445f1b608d8e006155 d8ce33f54bffff56d78fb8445f1b608d8e006155 [2022-07-27T16:24:39.043Z] d8ce33f54bffff56d78fb8445f1b608d8e006155 [false] [Pipeline] sh [2022-07-27T16:24:39.335Z] + git log --format=format:%s -1 d8ce33f54bffff56d78fb8445f1b608d8e006155 [Pipeline] echo [2022-07-27T16:24:39.351Z] ========================================================= [2022-07-27T16:24:39.351Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-27T16:24:39.351Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-27T16:24:39.694Z] + git log --format=format:%s -1 d8ce33f54bffff56d78fb8445f1b608d8e006155 [Pipeline] echo [2022-07-27T16:24:39.705Z] [semverPrep] GIT_COMMIT: d8ce33f54bffff56d78fb8445f1b608d8e006155, Commit Message: Merge commit 'e07d484d1f5eb205c2c6f6ecd02e5a0c78a6dd12' into HEAD [Pipeline] echo [2022-07-27T16:24:39.715Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-27T16:24:40.097Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-27T16:24:40.097Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-27T16:24:40.097Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-27T16:24:40.097Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-27T16:24:40.097Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-27T16:24:40.097Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-27T16:24:40.097Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-27T16:24:40.514Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-27T16:24:40.514Z] [2022-07-27T16:24:40.514Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-27T16:24:40.823Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-27T16:24:40.823Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-27T16:24:40.823Z] b85a868b505f: Pulling fs layer [2022-07-27T16:24:40.823Z] e2be974225ed: Pulling fs layer [2022-07-27T16:24:40.823Z] 339a4e72a1f5: Pulling fs layer [2022-07-27T16:24:40.823Z] 988bab9f4d93: Pulling fs layer [2022-07-27T16:24:40.823Z] 1469e6f7b9e6: Pulling fs layer [2022-07-27T16:24:40.823Z] eaf3925da568: Pulling fs layer [2022-07-27T16:24:40.823Z] 988bab9f4d93: Waiting [2022-07-27T16:24:40.823Z] 1469e6f7b9e6: Waiting [2022-07-27T16:24:40.823Z] eaf3925da568: Waiting [2022-07-27T16:24:40.823Z] bab4dde63d76: Pulling fs layer [2022-07-27T16:24:40.823Z] bde34c3a00c8: Pulling fs layer [2022-07-27T16:24:40.823Z] b352a97aabf1: Pulling fs layer [2022-07-27T16:24:40.823Z] 4872d77fe225: Pulling fs layer [2022-07-27T16:24:40.823Z] 5851b861e8e6: Pulling fs layer [2022-07-27T16:24:40.823Z] 4872d77fe225: Waiting [2022-07-27T16:24:40.823Z] bab4dde63d76: Waiting [2022-07-27T16:24:40.823Z] b352a97aabf1: Waiting [2022-07-27T16:24:40.823Z] bde34c3a00c8: Waiting [2022-07-27T16:24:40.823Z] e2be974225ed: Verifying Checksum [2022-07-27T16:24:40.823Z] e2be974225ed: Download complete [2022-07-27T16:24:40.823Z] 988bab9f4d93: Verifying Checksum [2022-07-27T16:24:40.823Z] 988bab9f4d93: Download complete [2022-07-27T16:24:41.085Z] 1469e6f7b9e6: Verifying Checksum [2022-07-27T16:24:41.085Z] 1469e6f7b9e6: Download complete [2022-07-27T16:24:41.085Z] eaf3925da568: Verifying Checksum [2022-07-27T16:24:41.085Z] eaf3925da568: Download complete [2022-07-27T16:24:41.085Z] 339a4e72a1f5: Verifying Checksum [2022-07-27T16:24:41.085Z] 339a4e72a1f5: Download complete [2022-07-27T16:24:41.085Z] bde34c3a00c8: Verifying Checksum [2022-07-27T16:24:41.085Z] b352a97aabf1: Download complete [2022-07-27T16:24:41.085Z] 4872d77fe225: Verifying Checksum [2022-07-27T16:24:41.085Z] 4872d77fe225: Download complete [2022-07-27T16:24:41.085Z] 5851b861e8e6: Download complete [2022-07-27T16:24:41.085Z] b85a868b505f: Verifying Checksum [2022-07-27T16:24:41.085Z] b85a868b505f: Download complete [2022-07-27T16:24:41.344Z] bab4dde63d76: Verifying Checksum [2022-07-27T16:24:41.344Z] bab4dde63d76: Download complete [2022-07-27T16:24:42.726Z] b85a868b505f: Pull complete [2022-07-27T16:24:42.726Z] e2be974225ed: Pull complete [2022-07-27T16:24:43.296Z] 339a4e72a1f5: Pull complete [2022-07-27T16:24:43.296Z] 988bab9f4d93: Pull complete [2022-07-27T16:24:43.867Z] 1469e6f7b9e6: Pull complete [2022-07-27T16:24:43.867Z] eaf3925da568: Pull complete [2022-07-27T16:24:45.783Z] bab4dde63d76: Pull complete [2022-07-27T16:24:45.783Z] bde34c3a00c8: Pull complete [2022-07-27T16:24:46.045Z] b352a97aabf1: Pull complete [2022-07-27T16:24:46.045Z] 4872d77fe225: Pull complete [2022-07-27T16:24:46.045Z] 5851b861e8e6: Pull complete [2022-07-27T16:24:46.045Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-07-27T16:24:46.045Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-27T16:24:46.045Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-27T16:24:46.420Z] prd-ubuntu20.04-docker-8c-8g-21241 does not seem to be running inside a container [2022-07-27T16:24:46.460Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-usb-camera_PR-62 -v /w/workspace/xfoundry_device-usb-camera_PR-62:/w/workspace/xfoundry_device-usb-camera_PR-62:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-62@tmp:/w/workspace/xfoundry_device-usb-camera_PR-62@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-devops/py-git-semver:0.1.4 cat [2022-07-27T16:24:47.859Z] $ docker top cb7c7bcebf8feeebbc8231d2b08b1cb5fe19bdca2158470600db28324fa20ab9 -eo pid,comm [2022-07-27T16:24:47.935Z] 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-07-27T16:24:47.935Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-27T16:24:47.969Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-27T16:24:47.969Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-27T16:24:48.109Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-27T16:24:48.116Z] $ docker exec cb7c7bcebf8feeebbc8231d2b08b1cb5fe19bdca2158470600db28324fa20ab9 ssh-agent [2022-07-27T16:24:48.251Z] SSH_AUTH_SOCK=/tmp/ssh-25sjLgHW5Ly5/agent.32 [2022-07-27T16:24:48.251Z] SSH_AGENT_PID=38 [2022-07-27T16:24:48.259Z] Running ssh-add (command line suppressed) [2022-07-27T16:24:48.391Z] Identity added: /w/workspace/xfoundry_device-usb-camera_PR-62@tmp/private_key_193635382667534890.key (/w/workspace/xfoundry_device-usb-camera_PR-62@tmp/private_key_193635382667534890.key) [2022-07-27T16:24:48.406Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-27T16:24:48.702Z] + git tag --points-at HEAD [Pipeline] } [2022-07-27T16:24:48.735Z] $ docker exec --env ******** --env ******** cb7c7bcebf8feeebbc8231d2b08b1cb5fe19bdca2158470600db28324fa20ab9 ssh-agent -k [2022-07-27T16:24:48.853Z] unset SSH_AUTH_SOCK; [2022-07-27T16:24:48.854Z] unset SSH_AGENT_PID; [2022-07-27T16:24:48.854Z] echo Agent pid 38 killed; [2022-07-27T16:24:48.863Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-27T16:24:48.886Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-27T16:24:48.886Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-27T16:24:49.020Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-27T16:24:49.026Z] $ docker exec cb7c7bcebf8feeebbc8231d2b08b1cb5fe19bdca2158470600db28324fa20ab9 ssh-agent [2022-07-27T16:24:49.141Z] SSH_AUTH_SOCK=/tmp/ssh-1km1pBzwFACI/agent.72 [2022-07-27T16:24:49.141Z] SSH_AGENT_PID=78 [2022-07-27T16:24:49.147Z] Running ssh-add (command line suppressed) [2022-07-27T16:24:49.275Z] Identity added: /w/workspace/xfoundry_device-usb-camera_PR-62@tmp/private_key_424959050511358396.key (/w/workspace/xfoundry_device-usb-camera_PR-62@tmp/private_key_424959050511358396.key) [2022-07-27T16:24:49.287Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-27T16:24:49.576Z] + git semver init [2022-07-27T16:24:49.838Z] 2022-07-27 16:24:49,800 [run_init] DEBUG init version:0.0.0 force:False [2022-07-27T16:24:49.838Z] 2022-07-27 16:24:49,801 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-usb-camera_PR-62/.semver [2022-07-27T16:24:49.838Z] 2022-07-27 16:24:49,801 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/xfoundry_device-usb-camera_PR-62/.semver [2022-07-27T16:24:49.838Z] 2022-07-27 16:24:49,801 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/xfoundry_device-usb-camera_PR-62/.semver'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-62, universal_newlines=False, shell=None, istream=None) [2022-07-27T16:24:50.411Z] 2022-07-27 16:24:50,384 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-usb-camera_PR-62/.git/info/exclude [2022-07-27T16:24:50.411Z] 2022-07-27 16:24:50,385 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-usb-camera_PR-62/.semver/PR-62 with force:False [2022-07-27T16:24:50.411Z] 2022-07-27 16:24:50,385 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-usb-camera_PR-62/.semver/PR-62 [2022-07-27T16:24:50.411Z] 2022-07-27 16:24:50,390 [execute] INFO git cat-file --batch-check [2022-07-27T16:24:50.411Z] 2022-07-27 16:24:50,390 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-62/.semver, universal_newlines=False, shell=None, istream=) [2022-07-27T16:24:50.411Z] 2022-07-27 16:24:50,397 [execute] INFO git cat-file --batch [2022-07-27T16:24:50.411Z] 2022-07-27 16:24:50,397 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-62/.semver, universal_newlines=False, shell=None, istream=) [2022-07-27T16:24:50.411Z] 2022-07-27 16:24:50,403 [read_version] DEBUG read version from /w/workspace/xfoundry_device-usb-camera_PR-62/.semver/PR-62 [2022-07-27T16:24:50.411Z] 0.0.0 [Pipeline] } [2022-07-27T16:24:50.686Z] $ docker exec --env ******** --env ******** cb7c7bcebf8feeebbc8231d2b08b1cb5fe19bdca2158470600db28324fa20ab9 ssh-agent -k [2022-07-27T16:24:50.795Z] unset SSH_AUTH_SOCK; [2022-07-27T16:24:50.795Z] unset SSH_AGENT_PID; [2022-07-27T16:24:50.796Z] echo Agent pid 78 killed; [2022-07-27T16:24:50.803Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-27T16:24:51.124Z] + git semver [Pipeline] } [2022-07-27T16:24:51.405Z] $ docker stop --time=1 cb7c7bcebf8feeebbc8231d2b08b1cb5fe19bdca2158470600db28324fa20ab9 [2022-07-27T16:24:52.739Z] $ docker rm -f cb7c7bcebf8feeebbc8231d2b08b1cb5fe19bdca2158470600db28324fa20ab9 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-27T16:24:53.092Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-27T16:24:53.349Z] Stashed 1 file(s) [Pipeline] echo [2022-07-27T16:24:53.351Z] [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-07-27T16:24:53.482Z] provisioning config files... [2022-07-27T16:24:53.492Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-62@tmp/config7468920229628720009tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-27T16:24:53.790Z] ---> docker-login.sh [2022-07-27T16:24:53.790Z] nexus3.edgexfoundry.org:10001 [2022-07-27T16:24:53.790Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-27T16:24:53.790Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-27T16:24:53.790Z] Configure a credential helper to remove this warning. See [2022-07-27T16:24:53.790Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-27T16:24:53.790Z] [2022-07-27T16:24:53.790Z] Login Succeeded [2022-07-27T16:24:53.790Z] nexus3.edgexfoundry.org:10002 [2022-07-27T16:24:53.790Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-27T16:24:54.050Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-27T16:24:54.050Z] Configure a credential helper to remove this warning. See [2022-07-27T16:24:54.050Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-27T16:24:54.050Z] [2022-07-27T16:24:54.050Z] Login Succeeded [2022-07-27T16:24:54.050Z] nexus3.edgexfoundry.org:10003 [2022-07-27T16:24:54.050Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-27T16:24:54.050Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-27T16:24:54.050Z] Configure a credential helper to remove this warning. See [2022-07-27T16:24:54.050Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-27T16:24:54.050Z] [2022-07-27T16:24:54.050Z] Login Succeeded [2022-07-27T16:24:54.050Z] nexus3.edgexfoundry.org:10004 [2022-07-27T16:24:54.312Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-27T16:24:54.312Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-27T16:24:54.312Z] Configure a credential helper to remove this warning. See [2022-07-27T16:24:54.312Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-27T16:24:54.312Z] [2022-07-27T16:24:54.312Z] Login Succeeded [2022-07-27T16:24:54.312Z] docker.io [2022-07-27T16:24:54.312Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-27T16:24:54.575Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-27T16:24:54.575Z] Configure a credential helper to remove this warning. See [2022-07-27T16:24:54.575Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-27T16:24:54.575Z] [2022-07-27T16:24:54.575Z] Login Succeeded [2022-07-27T16:24:54.575Z] ---> docker-login.sh ends [Pipeline] } [2022-07-27T16:24:54.586Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-27T16:24:54.661Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-27T16:24:54.673Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-27T16:24:54.680Z] ========================================================= [2022-07-27T16:24:54.680Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-07-27T16:24:54.680Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-27T16:24:55.004Z] + 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-07-27T16:24:55.004Z] Sending build context to Docker daemon 781.8kB [2022-07-27T16:24:55.004Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-07-27T16:24:55.004Z] Step 2/13 : FROM ${BASE} AS builder [2022-07-27T16:24:55.004Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-27T16:24:55.004Z] 2408cc74d12b: Pulling fs layer [2022-07-27T16:24:55.004Z] ea60b727a1ce: Pulling fs layer [2022-07-27T16:24:55.004Z] 30c4a7721957: Pulling fs layer [2022-07-27T16:24:55.004Z] 370296b7ddb6: Pulling fs layer [2022-07-27T16:24:55.004Z] 7c6cee850709: Pulling fs layer [2022-07-27T16:24:55.004Z] 39a5fcdaea64: Pulling fs layer [2022-07-27T16:24:55.004Z] d94ebbe4e438: Pulling fs layer [2022-07-27T16:24:55.004Z] bcfd1f05c69d: Pulling fs layer [2022-07-27T16:24:55.004Z] 59ccb84bbe0f: Pulling fs layer [2022-07-27T16:24:55.004Z] 39a5fcdaea64: Waiting [2022-07-27T16:24:55.004Z] d94ebbe4e438: Waiting [2022-07-27T16:24:55.004Z] 370296b7ddb6: Waiting [2022-07-27T16:24:55.004Z] bcfd1f05c69d: Waiting [2022-07-27T16:24:55.004Z] 7c6cee850709: Waiting [2022-07-27T16:24:55.004Z] 59ccb84bbe0f: Waiting [2022-07-27T16:24:55.004Z] 30c4a7721957: Verifying Checksum [2022-07-27T16:24:55.004Z] 30c4a7721957: Download complete [2022-07-27T16:24:55.004Z] ea60b727a1ce: Verifying Checksum [2022-07-27T16:24:55.004Z] ea60b727a1ce: Download complete [2022-07-27T16:24:55.004Z] 7c6cee850709: Verifying Checksum [2022-07-27T16:24:55.004Z] 7c6cee850709: Download complete [2022-07-27T16:24:55.265Z] 39a5fcdaea64: Verifying Checksum [2022-07-27T16:24:55.265Z] 39a5fcdaea64: Download complete [2022-07-27T16:24:55.265Z] 2408cc74d12b: Download complete [2022-07-27T16:24:55.265Z] d94ebbe4e438: Verifying Checksum [2022-07-27T16:24:55.265Z] d94ebbe4e438: Download complete [2022-07-27T16:24:55.265Z] 2408cc74d12b: Pull complete [2022-07-27T16:24:55.537Z] ea60b727a1ce: Pull complete [2022-07-27T16:24:55.537Z] 30c4a7721957: Pull complete [2022-07-27T16:24:55.801Z] 59ccb84bbe0f: Verifying Checksum [2022-07-27T16:24:55.801Z] 59ccb84bbe0f: Download complete [2022-07-27T16:24:55.801Z] bcfd1f05c69d: Verifying Checksum [2022-07-27T16:24:55.801Z] 370296b7ddb6: Verifying Checksum [2022-07-27T16:24:55.801Z] 370296b7ddb6: Download complete [2022-07-27T16:25:00.008Z] 370296b7ddb6: Pull complete [2022-07-27T16:25:00.274Z] 7c6cee850709: Pull complete [2022-07-27T16:25:00.274Z] 39a5fcdaea64: Pull complete [2022-07-27T16:25:00.274Z] d94ebbe4e438: Pull complete [2022-07-27T16:25:02.813Z] bcfd1f05c69d: Pull complete [2022-07-27T16:25:03.389Z] 59ccb84bbe0f: Pull complete [2022-07-27T16:25:03.389Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-07-27T16:25:03.389Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-07-27T16:25:03.389Z] ---> a4fb48ad2a94 [2022-07-27T16:25:03.389Z] Step 3/13 : ARG MAKE="make build" [2022-07-27T16:25:05.331Z] ---> Running in dfbdfe3f3e46 [2022-07-27T16:25:05.331Z] Removing intermediate container dfbdfe3f3e46 [2022-07-27T16:25:05.331Z] ---> 00197bc6b8cc [2022-07-27T16:25:05.331Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" [2022-07-27T16:25:05.331Z] ---> Running in f330a48c8a52 [2022-07-27T16:25:05.331Z] Removing intermediate container f330a48c8a52 [2022-07-27T16:25:05.331Z] ---> 96f007c19a39 [2022-07-27T16:25:05.331Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-07-27T16:25:05.331Z] ---> Running in 87f0791acc89 [2022-07-27T16:25:05.331Z] Removing intermediate container 87f0791acc89 [2022-07-27T16:25:05.331Z] ---> 56022405bb76 [2022-07-27T16:25:05.331Z] Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-27T16:25:05.331Z] ---> Running in a1afa5c42573 [2022-07-27T16:25:05.904Z] Removing intermediate container a1afa5c42573 [2022-07-27T16:25:05.904Z] ---> 77fb644eb375 [2022-07-27T16:25:05.904Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-27T16:25:05.904Z] ---> Running in 7d6b8dae4bf7 [2022-07-27T16:25:06.166Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-27T16:25:07.107Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-27T16:25:07.368Z] (1/80) Installing mesa (21.3.8-r1) [2022-07-27T16:25:07.368Z] (2/80) Installing libxau (1.0.9-r0) [2022-07-27T16:25:07.368Z] (3/80) Installing libxdmcp (1.1.3-r0) [2022-07-27T16:25:07.630Z] (4/80) Installing libxcb (1.15-r0) [2022-07-27T16:25:07.630Z] (5/80) Installing libx11 (1.8-r0) [2022-07-27T16:25:07.893Z] (6/80) Installing libxext (1.3.4-r0) [2022-07-27T16:25:07.893Z] (7/80) Installing libxfixes (6.0.0-r0) [2022-07-27T16:25:07.893Z] (8/80) Installing libxxf86vm (1.1.4-r2) [2022-07-27T16:25:08.154Z] (9/80) Installing libpciaccess (0.16-r0) [2022-07-27T16:25:08.154Z] (10/80) Installing libdrm (2.4.110-r0) [2022-07-27T16:25:08.154Z] (11/80) Installing mesa-glapi (21.3.8-r1) [2022-07-27T16:25:08.417Z] (12/80) Installing libxshmfence (1.3-r1) [2022-07-27T16:25:08.417Z] (13/80) Installing mesa-gl (21.3.8-r1) [2022-07-27T16:25:08.417Z] (14/80) Installing icu-data-full (71.1-r2) [2022-07-27T16:25:08.453Z] Still waiting to schedule task [2022-07-27T16:25:08.454Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-07-27T16:25:09.366Z] (15/80) Installing libice (1.0.10-r0) [2022-07-27T16:25:09.366Z] (16/80) Installing libuuid (2.38-r1) [2022-07-27T16:25:09.366Z] (17/80) Installing libsm (1.2.3-r0) [2022-07-27T16:25:09.366Z] (18/80) Installing libxt (1.2.1-r0) [2022-07-27T16:25:09.628Z] (19/80) Installing libxmu (1.1.3-r0) [2022-07-27T16:25:09.628Z] (20/80) Installing xset (1.2.4-r0) [2022-07-27T16:25:09.628Z] (21/80) Installing xprop (1.2.5-r0) [2022-07-27T16:25:09.890Z] (22/80) Installing xdg-utils (1.1.3-r3) [2022-07-27T16:25:09.890Z] (23/80) Installing dbus-libs (1.14.0-r1) [2022-07-27T16:25:09.890Z] (24/80) Installing libffi (3.4.2-r1) [2022-07-27T16:25:10.151Z] (25/80) Installing libintl (0.21-r2) [2022-07-27T16:25:10.151Z] (26/80) Installing libblkid (2.38-r1) [2022-07-27T16:25:10.151Z] (27/80) Installing libmount (2.38-r1) [2022-07-27T16:25:10.412Z] (28/80) Installing pcre (8.45-r2) [2022-07-27T16:25:10.412Z] (29/80) Installing glib (2.72.1-r0) [2022-07-27T16:25:10.672Z] (30/80) Installing icu-libs (71.1-r2) [2022-07-27T16:25:10.672Z] (31/80) Installing libpcre2-16 (10.40-r0) [2022-07-27T16:25:10.672Z] (32/80) Installing zstd-libs (1.5.2-r1) [2022-07-27T16:25:10.947Z] (33/80) Installing qt5-qtbase (5.15.4_git20220511-r1) [2022-07-27T16:25:12.332Z] (34/80) Installing hicolor-icon-theme (0.17-r1) [2022-07-27T16:25:12.332Z] (35/80) Installing wayland-libs-server (1.20.0-r0) [2022-07-27T16:25:12.332Z] (36/80) Installing mesa-gbm (21.3.8-r1) [2022-07-27T16:25:12.593Z] (37/80) Installing wayland-libs-client (1.20.0-r0) [2022-07-27T16:25:12.593Z] (38/80) Installing qt5-qtdeclarative (5.15.4_git20220514-r0) [2022-07-27T16:25:13.163Z] (39/80) Installing libxcomposite (0.4.5-r0) [2022-07-27T16:25:13.163Z] (40/80) Installing libbz2 (1.0.8-r1) [2022-07-27T16:25:13.163Z] (41/80) Installing libpng (1.6.37-r1) [2022-07-27T16:25:13.163Z] (42/80) Installing freetype (2.12.1-r0) [2022-07-27T16:25:13.425Z] (43/80) Installing fontconfig (2.14.0-r0) [2022-07-27T16:25:13.425Z] (44/80) Installing wayland-libs-cursor (1.20.0-r0) [2022-07-27T16:25:13.425Z] (45/80) Installing wayland-libs-egl (1.20.0-r0) [2022-07-27T16:25:13.686Z] (46/80) Installing xkeyboard-config (2.35.1-r0) [2022-07-27T16:25:13.686Z] (47/80) Installing xz-libs (5.2.5-r1) [2022-07-27T16:25:13.947Z] (48/80) Installing libxml2 (2.9.14-r0) [2022-07-27T16:25:13.947Z] (49/80) Installing libxkbcommon (1.4.1-r0) [2022-07-27T16:25:13.947Z] (50/80) Installing qt5-qtwayland (5.15.4_git20220511-r0) [2022-07-27T16:25:14.208Z] (51/80) Installing mesa-egl (21.3.8-r1) [2022-07-27T16:25:14.208Z] (52/80) Installing avahi-libs (0.8-r6) [2022-07-27T16:25:14.467Z] (53/80) Installing nettle (3.7.3-r0) [2022-07-27T16:25:14.467Z] (54/80) Installing p11-kit (0.24.1-r0) [2022-07-27T16:25:14.467Z] (55/80) Installing libtasn1 (4.18.0-r0) [2022-07-27T16:25:14.727Z] (56/80) Installing libunistring (1.0-r0) [2022-07-27T16:25:14.727Z] (57/80) Installing gnutls (3.7.6-r0) [2022-07-27T16:25:14.727Z] (58/80) Installing cups-libs (2.4.2-r0) [2022-07-27T16:25:14.987Z] (59/80) Installing graphite2 (1.3.14-r1) [2022-07-27T16:25:14.987Z] (60/80) Installing harfbuzz (4.3.0-r0) [2022-07-27T16:25:15.247Z] (61/80) Installing libevdev (1.12.1-r0) [2022-07-27T16:25:15.247Z] (62/80) Installing mtdev (1.1.6-r0) [2022-07-27T16:25:15.247Z] (63/80) Installing eudev-libs (3.2.11-r0) [2022-07-27T16:25:15.507Z] (64/80) Installing libinput-libs (1.20.1-r0) [2022-07-27T16:25:15.507Z] (65/80) Installing libjpeg-turbo (2.1.3-r1) [2022-07-27T16:25:15.507Z] (66/80) Installing xcb-util-wm (0.4.1-r1) [2022-07-27T16:25:15.767Z] (67/80) Installing xcb-util (0.4.0-r3) [2022-07-27T16:25:15.767Z] (68/80) Installing xcb-util-image (0.4.0-r1) [2022-07-27T16:25:15.767Z] (69/80) Installing xcb-util-keysyms (0.4.0-r1) [2022-07-27T16:25:16.027Z] (70/80) Installing xcb-util-renderutil (0.3.9-r1) [2022-07-27T16:25:16.027Z] (71/80) Installing libxkbcommon-x11 (1.4.1-r0) [2022-07-27T16:25:16.027Z] (72/80) Installing qt5-qtbase-x11 (5.15.4_git20220511-r1) [2022-07-27T16:25:16.598Z] (73/80) Installing v4l-utils-libs (1.22.1-r1) [2022-07-27T16:25:16.859Z] (74/80) Installing v4l-utils (1.22.1-r1) [2022-07-27T16:25:16.859Z] (75/80) Installing udev-init-scripts (35-r0) [2022-07-27T16:25:17.120Z] Executing udev-init-scripts-35-r0.post-install [2022-07-27T16:25:17.120Z] (76/80) Installing kmod-libs (29-r2) [2022-07-27T16:25:17.120Z] (77/80) Installing eudev (3.2.11-r0) [2022-07-27T16:25:17.120Z] (78/80) Installing eudev-dev (3.2.11-r0) [2022-07-27T16:25:17.381Z] (79/80) Installing v4l-utils-dvbv5 (1.22.1-r1) [2022-07-27T16:25:17.381Z] (80/80) Installing v4l-utils-dev (1.22.1-r1) [2022-07-27T16:25:17.381Z] Executing busybox-1.35.0-r13.trigger [2022-07-27T16:25:17.381Z] Executing eudev-3.2.11-r0.trigger [2022-07-27T16:25:17.381Z] OK: 330 MiB in 131 packages [2022-07-27T16:25:19.930Z] Removing intermediate container 7d6b8dae4bf7 [2022-07-27T16:25:19.930Z] ---> de6c5feee776 [2022-07-27T16:25:19.930Z] Step 8/13 : WORKDIR /device-usb-camera [2022-07-27T16:25:19.930Z] ---> Running in e6cce83ac719 [2022-07-27T16:25:19.930Z] Removing intermediate container e6cce83ac719 [2022-07-27T16:25:19.930Z] ---> 96fd537753ea [2022-07-27T16:25:19.930Z] Step 9/13 : COPY go.mod vendor* ./ [2022-07-27T16:25:19.930Z] ---> c47df7f0efc7 [2022-07-27T16:25:19.930Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-27T16:25:19.930Z] ---> Running in 487efc22a2d5 [2022-07-27T16:25:34.841Z] Removing intermediate container 487efc22a2d5 [2022-07-27T16:25:34.841Z] ---> 6f1e3e33c178 [2022-07-27T16:25:34.841Z] Step 11/13 : COPY . . [2022-07-27T16:25:34.841Z] ---> 994e51ff1822 [2022-07-27T16:25:34.841Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2022-07-27T16:25:34.841Z] ---> Running in d94f351825ef [2022-07-27T16:25:34.841Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-27T16:25:34.841Z] Dload Upload Total Spent Left Speed [2022-07-27T16:25:34.841Z]  0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 10372 0 --:--:-- --:--:-- --:--:-- 10411 [2022-07-27T16:25:34.841Z] Removing intermediate container d94f351825ef [2022-07-27T16:25:34.841Z] ---> 6a3ab1ae6dc5 [2022-07-27T16:25:34.841Z] Step 13/13 : RUN ${MAKE} [2022-07-27T16:25:34.841Z] ---> Running in e6626b12f94c [2022-07-27T16:25:34.841Z] noop [2022-07-27T16:25:34.841Z] Removing intermediate container e6626b12f94c [2022-07-27T16:25:34.841Z] ---> e00dfdb8b620 [2022-07-27T16:25:34.841Z] Successfully built e00dfdb8b620 [2022-07-27T16:25:34.841Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-27T16:25:35.161Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-27T16:25:35.161Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-27T16:25:35.248Z] prd-ubuntu20.04-docker-8c-8g-21241 does not seem to be running inside a container [2022-07-27T16:25:35.320Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-usb-camera_PR-62 -v /w/workspace/xfoundry_device-usb-camera_PR-62:/w/workspace/xfoundry_device-usb-camera_PR-62:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-62@tmp:/w/workspace/xfoundry_device-usb-camera_PR-62@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-27T16:25:35.708Z] $ docker top 398c5f5f8127736a06bbeb87db73e63c694d55953cbde6186275b918e2cb1aaf -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-27T16:25:36.109Z] + go version [2022-07-27T16:25:36.110Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-07-27T16:25:36.125Z] $ docker stop --time=1 398c5f5f8127736a06bbeb87db73e63c694d55953cbde6186275b918e2cb1aaf [2022-07-27T16:25:37.382Z] $ docker rm -f 398c5f5f8127736a06bbeb87db73e63c694d55953cbde6186275b918e2cb1aaf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-27T16:25:37.818Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-27T16:25:37.818Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-27T16:25:37.903Z] prd-ubuntu20.04-docker-8c-8g-21241 does not seem to be running inside a container [2022-07-27T16:25:37.942Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/xfoundry_device-usb-camera_PR-62 -v /w/workspace/xfoundry_device-usb-camera_PR-62:/w/workspace/xfoundry_device-usb-camera_PR-62:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-62@tmp:/w/workspace/xfoundry_device-usb-camera_PR-62@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-27T16:25:38.327Z] $ docker top 22fd0dd066b83673b89aee387ff942fe7ea393b1748a6107ade1663ac2850918 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-27T16:25:38.679Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-usb-camera_PR-62 [Pipeline] fileExists [Pipeline] sh [2022-07-27T16:25:39.069Z] + make test [2022-07-27T16:25:39.069Z] CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... [2022-07-27T16:25:39.329Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2022-07-27T16:25:49.321Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2022-07-27T16:25:49.321Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.015s coverage: 1.9% of statements [2022-07-27T16:25:54.634Z] CGO_ENABLED=1 go vet ./... [2022-07-27T16:25:57.174Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-27T16:25:57.174Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-27T16:25:57.174Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-27T16:25:57.757Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-27T16:25:57.776Z] $ docker stop --time=1 22fd0dd066b83673b89aee387ff942fe7ea393b1748a6107ade1663ac2850918 [2022-07-27T16:25:59.528Z] $ docker rm -f 22fd0dd066b83673b89aee387ff942fe7ea393b1748a6107ade1663ac2850918 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-27T16:25:59.977Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-27T16:26:00.013Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-07-27T16:26:00.512Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-27T16:26:00.801Z] + ls -al . [2022-07-27T16:26:00.801Z] total 192 [2022-07-27T16:26:00.801Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 27 16:25 . [2022-07-27T16:26:00.801Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 27 16:24 .. [2022-07-27T16:26:00.801Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 27 16:25 .git [2022-07-27T16:26:00.801Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 27 16:24 .github [2022-07-27T16:26:00.801Z] -rw-rw-r-- 1 jenkins jenkins 414 Jul 27 16:24 .gitignore [2022-07-27T16:26:00.801Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 27 16:24 .golangci.yml [2022-07-27T16:26:00.801Z] -rw-rw-r-- 1 jenkins jenkins 77 Jul 27 16:24 .hadolint.yml [2022-07-27T16:26:00.801Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 27 16:24 .semver [2022-07-27T16:26:00.801Z] -rw-rw-r-- 1 jenkins jenkins 9065 Jul 27 16:24 Attribution.txt [2022-07-27T16:26:00.801Z] -rw-rw-r-- 1 jenkins jenkins 1206 Jul 27 16:24 CHANGELOG.md [2022-07-27T16:26:00.801Z] -rw-rw-r-- 1 jenkins jenkins 2410 Jul 27 16:24 Dockerfile [2022-07-27T16:26:00.801Z] -rw-rw-r-- 1 jenkins jenkins 678 Jul 27 16:24 GOVERNANCE.md [2022-07-27T16:26:00.801Z] -rw-rw-r-- 1 jenkins jenkins 659 Jul 27 16:24 Jenkinsfile [2022-07-27T16:26:00.801Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 27 16:24 LICENSE [2022-07-27T16:26:00.801Z] -rw-rw-r-- 1 jenkins jenkins 2345 Jul 27 16:24 Makefile [2022-07-27T16:26:00.801Z] -rw-rw-r-- 1 jenkins jenkins 622 Jul 27 16:24 OWNERS.md [2022-07-27T16:26:00.801Z] -rw-rw-r-- 1 jenkins jenkins 11382 Jul 27 16:24 README.md [2022-07-27T16:26:00.801Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 27 16:24 VERSION [2022-07-27T16:26:00.801Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 27 16:24 bin [2022-07-27T16:26:00.801Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 27 16:24 cmd [2022-07-27T16:26:00.801Z] -rw-r--r-- 1 jenkins jenkins 29387 Jul 27 16:25 coverage.out [2022-07-27T16:26:00.801Z] -rwxrwxr-x 1 jenkins jenkins 140 Jul 27 16:24 docker-entrypoint.sh [2022-07-27T16:26:00.801Z] -rw-rw-r-- 1 jenkins jenkins 3382 Jul 27 16:24 go.mod [2022-07-27T16:26:00.801Z] -rw-rw-r-- 1 jenkins jenkins 35824 Jul 27 16:24 go.sum [2022-07-27T16:26:00.801Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 27 16:24 internal [2022-07-27T16:26:00.801Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 27 16:24 snap [2022-07-27T16:26:00.801Z] -rw-rw-r-- 1 jenkins jenkins 231 Jul 27 16:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-27T16:26:01.131Z] + 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=d8ce33f54bffff56d78fb8445f1b608d8e006155 --label arch=amd64 --label version=0.0.0 . [2022-07-27T16:26:01.131Z] Sending build context to Docker daemon 812kB [2022-07-27T16:26:01.131Z] Step 1/35 : ARG BASE=golang:1.17-alpine3.15 [2022-07-27T16:26:01.131Z] Step 2/35 : FROM ${BASE} AS builder [2022-07-27T16:26:01.131Z] ---> e00dfdb8b620 [2022-07-27T16:26:01.131Z] Step 3/35 : ARG MAKE="make build" [2022-07-27T16:26:01.131Z] ---> Running in 69a1232f0631 [2022-07-27T16:26:01.131Z] Removing intermediate container 69a1232f0631 [2022-07-27T16:26:01.131Z] ---> dd89cfb8c18d [2022-07-27T16:26:01.131Z] Step 4/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" [2022-07-27T16:26:01.396Z] ---> Running in 9ab970234984 [2022-07-27T16:26:01.396Z] Removing intermediate container 9ab970234984 [2022-07-27T16:26:01.396Z] ---> c6d04e759c93 [2022-07-27T16:26:01.396Z] Step 5/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-07-27T16:26:01.396Z] ---> Running in 56ece93983fa [2022-07-27T16:26:01.656Z] Removing intermediate container 56ece93983fa [2022-07-27T16:26:01.656Z] ---> 00750ef3d22d [2022-07-27T16:26:01.656Z] Step 6/35 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-27T16:26:01.656Z] ---> Running in 63790486bb9d [2022-07-27T16:26:02.224Z] Removing intermediate container 63790486bb9d [2022-07-27T16:26:02.224Z] ---> 4b51c7021d44 [2022-07-27T16:26:02.224Z] Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-27T16:26:02.224Z] ---> Running in ecf1d56d1005 [2022-07-27T16:26:02.483Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-27T16:26:03.430Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-27T16:26:03.706Z] OK: 330 MiB in 131 packages [2022-07-27T16:26:03.965Z] Removing intermediate container ecf1d56d1005 [2022-07-27T16:26:03.965Z] ---> 2b207010a752 [2022-07-27T16:26:03.965Z] Step 8/35 : WORKDIR /device-usb-camera [2022-07-27T16:26:04.231Z] ---> Running in d8abaa9ece20 [2022-07-27T16:26:04.231Z] Removing intermediate container d8abaa9ece20 [2022-07-27T16:26:04.231Z] ---> 7ab7cbd5bf7f [2022-07-27T16:26:04.231Z] Step 9/35 : COPY go.mod vendor* ./ [2022-07-27T16:26:04.231Z] ---> 150b7def9e67 [2022-07-27T16:26:04.231Z] Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-27T16:26:04.491Z] ---> Running in a33d4a04269e [2022-07-27T16:26:05.095Z] Removing intermediate container a33d4a04269e [2022-07-27T16:26:05.095Z] ---> 3b233322b602 [2022-07-27T16:26:05.095Z] Step 11/35 : COPY . . [2022-07-27T16:26:05.356Z] ---> dfa623a81685 [2022-07-27T16:26:05.356Z] Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2022-07-27T16:26:05.356Z] ---> Running in b5f03208f25e [2022-07-27T16:26:05.616Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-27T16:26:05.616Z] Dload Upload Total Spent Left Speed [2022-07-27T16:26:05.616Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 48187 0 --:--:-- --:--:-- --:--:-- 50571 [2022-07-27T16:26:05.877Z] Removing intermediate container b5f03208f25e [2022-07-27T16:26:05.877Z] ---> 4842b0abdad4 [2022-07-27T16:26:05.877Z] Step 13/35 : RUN ${MAKE} [2022-07-27T16:26:05.877Z] ---> Running in 62b3f71c9789 [2022-07-27T16:26:06.138Z] CGO_ENABLED=1 go build -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.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd [2022-07-27T16:26:28.094Z] Removing intermediate container 62b3f71c9789 [2022-07-27T16:26:28.094Z] ---> 0c7ef7d1610b [2022-07-27T16:26:28.094Z] Step 14/35 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp [2022-07-27T16:26:28.094Z] v0.18.4: Pulling from aler9/rtsp-simple-server [2022-07-27T16:26:28.094Z] af6660deedbd: Pulling fs layer [2022-07-27T16:26:28.094Z] 97cd0a44c592: Pulling fs layer [2022-07-27T16:26:28.094Z] 97cd0a44c592: Verifying Checksum [2022-07-27T16:26:28.094Z] 97cd0a44c592: Download complete [2022-07-27T16:26:28.094Z] af6660deedbd: Verifying Checksum [2022-07-27T16:26:28.094Z] af6660deedbd: Download complete [2022-07-27T16:26:28.094Z] af6660deedbd: Pull complete [2022-07-27T16:26:28.094Z] 97cd0a44c592: Pull complete [2022-07-27T16:26:28.094Z] Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 [2022-07-27T16:26:28.094Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 [2022-07-27T16:26:28.094Z] ---> fea57e182299 [2022-07-27T16:26:28.094Z] Step 15/35 : FROM alpine:3.15 [2022-07-27T16:26:28.094Z] 3.15: Pulling from library/alpine [2022-07-27T16:26:28.094Z] ab6db1bc80d0: Pulling fs layer [2022-07-27T16:26:28.094Z] ab6db1bc80d0: Verifying Checksum [2022-07-27T16:26:28.094Z] ab6db1bc80d0: Download complete [2022-07-27T16:26:28.094Z] ab6db1bc80d0: Pull complete [2022-07-27T16:26:28.094Z] Digest: sha256:0483110c51a764abe175a8cefb941541ca0bc0f628ce418d3a660338abf4622a [2022-07-27T16:26:28.094Z] Status: Downloaded newer image for alpine:3.15 [2022-07-27T16:26:28.094Z] ---> 2720e26172a0 [2022-07-27T16:26:28.094Z] Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-07-27T16:26:28.094Z] ---> Running in 6a555a2d0e05 [2022-07-27T16:26:28.094Z] Removing intermediate container 6a555a2d0e05 [2022-07-27T16:26:28.094Z] ---> b819e8b596d1 [2022-07-27T16:26:28.094Z] Step 17/35 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev [2022-07-27T16:26:28.094Z] ---> Running in 67139ab2e8dd [2022-07-27T16:26:28.094Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-27T16:26:28.094Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-27T16:26:28.094Z] (1/74) Installing dumb-init (1.2.5-r1) [2022-07-27T16:26:28.094Z] (2/74) Installing sdl2 (2.0.16-r4) [2022-07-27T16:26:28.094Z] (3/74) Installing libxau (1.0.9-r0) [2022-07-27T16:26:28.094Z] (4/74) Installing libmd (1.0.3-r0) [2022-07-27T16:26:28.094Z] (5/74) Installing libbsd (0.11.3-r1) [2022-07-27T16:26:28.094Z] (6/74) Installing libxdmcp (1.1.3-r0) [2022-07-27T16:26:28.094Z] (7/74) Installing libxcb (1.14-r2) [2022-07-27T16:26:28.094Z] (8/74) Installing libx11 (1.7.2-r0) [2022-07-27T16:26:28.094Z] (9/74) Installing aom-libs (3.2.0-r0) [2022-07-27T16:26:28.094Z] (10/74) Installing alsa-lib (1.2.5.1-r1) [2022-07-27T16:26:28.094Z] (11/74) Installing expat (2.4.7-r0) [2022-07-27T16:26:28.094Z] (12/74) Installing brotli-libs (1.0.9-r5) [2022-07-27T16:26:28.094Z] (13/74) Installing libbz2 (1.0.8-r1) [2022-07-27T16:26:28.094Z] (14/74) Installing libpng (1.6.37-r1) [2022-07-27T16:26:28.094Z] (15/74) Installing freetype (2.11.1-r2) [2022-07-27T16:26:28.094Z] (16/74) Installing libuuid (2.37.4-r0) [2022-07-27T16:26:28.094Z] (17/74) Installing fontconfig (2.13.1-r4) [2022-07-27T16:26:28.094Z] (18/74) Installing fribidi (1.0.11-r0) [2022-07-27T16:26:28.094Z] (19/74) Installing libffi (3.4.2-r1) [2022-07-27T16:26:28.094Z] (20/74) Installing libintl (0.21-r0) [2022-07-27T16:26:28.094Z] (21/74) Installing libblkid (2.37.4-r0) [2022-07-27T16:26:28.094Z] (22/74) Installing libmount (2.37.4-r0) [2022-07-27T16:26:28.094Z] (23/74) Installing pcre (8.45-r1) [2022-07-27T16:26:28.094Z] (24/74) Installing glib (2.70.1-r0) [2022-07-27T16:26:28.094Z] (25/74) Installing graphite2 (1.3.14-r0) [2022-07-27T16:26:28.094Z] (26/74) Installing harfbuzz (3.0.0-r2) [2022-07-27T16:26:28.094Z] (27/74) Installing libass (0.15.2-r0) [2022-07-27T16:26:28.094Z] (28/74) Installing libdav1d (0.9.2-r0) [2022-07-27T16:26:28.094Z] (29/74) Installing gmp (6.2.1-r1) [2022-07-27T16:26:28.094Z] (30/74) Installing nettle (3.7.3-r0) [2022-07-27T16:26:28.094Z] (31/74) Installing p11-kit (0.24.0-r1) [2022-07-27T16:26:28.357Z] (32/74) Installing libtasn1 (4.18.0-r0) [2022-07-27T16:26:28.357Z] (33/74) Installing libunistring (0.9.10-r1) [2022-07-27T16:26:28.357Z] (34/74) Installing gnutls (3.7.1-r0) [2022-07-27T16:26:28.357Z] (35/74) Installing ncurses-terminfo-base (6.3_p20211120-r1) [2022-07-27T16:26:28.357Z] (36/74) Installing ncurses-libs (6.3_p20211120-r1) [2022-07-27T16:26:28.357Z] (37/74) Installing lame (3.100-r0) [2022-07-27T16:26:28.357Z] (38/74) Installing opus (1.3.1-r1) [2022-07-27T16:26:28.357Z] (39/74) Installing libgomp (10.3.1_git20211027-r0) [2022-07-27T16:26:28.357Z] (40/74) Installing soxr (0.1.3-r2) [2022-07-27T16:26:28.357Z] (41/74) Installing libgcc (10.3.1_git20211027-r0) [2022-07-27T16:26:28.357Z] (42/74) Installing libstdc++ (10.3.1_git20211027-r0) [2022-07-27T16:26:28.357Z] (43/74) Installing libsrt (1.4.2-r1) [2022-07-27T16:26:28.357Z] (44/74) Installing libssh (0.9.6-r1) [2022-07-27T16:26:28.357Z] (45/74) Installing libogg (1.3.5-r0) [2022-07-27T16:26:28.357Z] (46/74) Installing libtheora (1.1.1-r16) [2022-07-27T16:26:28.357Z] (47/74) Installing libjpeg-turbo (2.1.2-r0) [2022-07-27T16:26:28.357Z] (48/74) Installing v4l-utils-libs (1.22.1-r1) [2022-07-27T16:26:28.357Z] (49/74) Installing libxext (1.3.4-r0) [2022-07-27T16:26:28.357Z] (50/74) Installing libxfixes (6.0.0-r0) [2022-07-27T16:26:28.357Z] (51/74) Installing libpciaccess (0.16-r0) [2022-07-27T16:26:28.357Z] (52/74) Installing libdrm (2.4.109-r0) [2022-07-27T16:26:28.357Z] (53/74) Installing wayland-libs-client (1.19.0-r1) [2022-07-27T16:26:28.357Z] (54/74) Installing libva (2.13.0-r0) [2022-07-27T16:26:28.357Z] (55/74) Installing libvdpau (1.4-r0) [2022-07-27T16:26:28.357Z] (56/74) Installing vidstab (1.1.0-r1) [2022-07-27T16:26:28.357Z] (57/74) Installing libvorbis (1.3.7-r0) [2022-07-27T16:26:28.357Z] (58/74) Installing libvpx (1.10.0-r0) [2022-07-27T16:26:28.357Z] (59/74) Installing vulkan-loader (1.2.196-r0) [2022-07-27T16:26:28.357Z] (60/74) Installing libwebp (1.2.2-r0) [2022-07-27T16:26:28.618Z] (61/74) Installing x264-libs (20210613-r0) [2022-07-27T16:26:28.618Z] (62/74) Installing x265-libs (3.5-r0) [2022-07-27T16:26:28.618Z] (63/74) Installing xvidcore (1.3.7-r1) [2022-07-27T16:26:28.618Z] (64/74) Installing ffmpeg-libs (4.4.1-r2) [2022-07-27T16:26:28.618Z] (65/74) Installing ffmpeg (4.4.1-r2) [2022-07-27T16:26:28.618Z] (66/74) Installing udev-init-scripts (35-r0) [2022-07-27T16:26:28.618Z] Executing udev-init-scripts-35-r0.post-install [2022-07-27T16:26:28.618Z] (67/74) Installing eudev-libs (3.2.11_pre1-r0) [2022-07-27T16:26:28.618Z] (68/74) Installing xz-libs (5.2.5-r1) [2022-07-27T16:26:28.618Z] (69/74) Installing zstd-libs (1.5.0-r0) [2022-07-27T16:26:28.618Z] (70/74) Installing kmod-libs (29-r2) [2022-07-27T16:26:28.618Z] (71/74) Installing eudev (3.2.11_pre1-r0) [2022-07-27T16:26:28.618Z] (72/74) Installing libsodium (1.0.18-r0) [2022-07-27T16:26:28.618Z] (73/74) Installing libzmq (4.3.4-r0) [2022-07-27T16:26:28.878Z] (74/74) Installing zeromq (4.3.4-r0) [2022-07-27T16:26:28.878Z] Executing busybox-1.34.1-r7.trigger [2022-07-27T16:26:28.878Z] Executing eudev-3.2.11_pre1-r0.trigger [2022-07-27T16:26:28.878Z] OK: 78 MiB in 88 packages [2022-07-27T16:26:30.259Z] Removing intermediate container 67139ab2e8dd [2022-07-27T16:26:30.259Z] ---> 3a9398b5b631 [2022-07-27T16:26:30.259Z] Step 18/35 : WORKDIR / [2022-07-27T16:26:30.259Z] ---> Running in ab3cb855eaa2 [2022-07-27T16:26:30.259Z] Removing intermediate container ab3cb855eaa2 [2022-07-27T16:26:30.259Z] ---> 9b660202e372 [2022-07-27T16:26:30.259Z] Step 19/35 : COPY --from=builder /device-usb-camera/cmd / [2022-07-27T16:26:30.518Z] ---> 4478d8acca63 [2022-07-27T16:26:30.518Z] Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / [2022-07-27T16:26:30.777Z] ---> 47180ad28b09 [2022-07-27T16:26:30.777Z] Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2022-07-27T16:26:31.037Z] ---> c867bd55a440 [2022-07-27T16:26:31.037Z] Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / [2022-07-27T16:26:31.037Z] ---> 4830bd8faee2 [2022-07-27T16:26:31.037Z] Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2022-07-27T16:26:31.297Z] ---> 9f7ac3b81416 [2022-07-27T16:26:31.297Z] Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / [2022-07-27T16:26:31.297Z] ---> e631c40a5519 [2022-07-27T16:26:31.297Z] Step 25/35 : COPY --from=rtsp /rtsp-simple-server / [2022-07-27T16:26:31.867Z] ---> 1fd68477c044 [2022-07-27T16:26:31.867Z] Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2022-07-27T16:26:31.867Z] ---> Running in 1dd4a813f85b [2022-07-27T16:26:32.478Z] Removing intermediate container 1dd4a813f85b [2022-07-27T16:26:32.478Z] ---> 18c212b8b7a9 [2022-07-27T16:26:32.478Z] Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2022-07-27T16:26:32.478Z] ---> Running in 82e34e2e50c8 [2022-07-27T16:26:33.047Z] Removing intermediate container 82e34e2e50c8 [2022-07-27T16:26:33.047Z] ---> 2d6e37ba7a50 [2022-07-27T16:26:33.047Z] Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2022-07-27T16:26:33.047Z] ---> Running in db0c158d9a34 [2022-07-27T16:26:33.625Z] Removing intermediate container db0c158d9a34 [2022-07-27T16:26:33.625Z] ---> 396036d2b09a [2022-07-27T16:26:33.625Z] Step 29/35 : EXPOSE 59983 [2022-07-27T16:26:33.625Z] ---> Running in aa78af789131 [2022-07-27T16:26:33.625Z] Removing intermediate container aa78af789131 [2022-07-27T16:26:33.625Z] ---> a4b641bf8851 [2022-07-27T16:26:33.625Z] Step 30/35 : EXPOSE 8554 [2022-07-27T16:26:33.886Z] ---> Running in 2c3eabf38da4 [2022-07-27T16:26:33.886Z] Removing intermediate container 2c3eabf38da4 [2022-07-27T16:26:33.886Z] ---> fc7ca2d331f1 [2022-07-27T16:26:33.886Z] Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] [2022-07-27T16:26:33.886Z] ---> Running in 2044a9d480ea [2022-07-27T16:26:33.886Z] Removing intermediate container 2044a9d480ea [2022-07-27T16:26:33.886Z] ---> d0ebe844b08a [2022-07-27T16:26:33.886Z] Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] [2022-07-27T16:26:33.886Z] ---> Running in d7e846c393f3 [2022-07-27T16:26:34.148Z] Removing intermediate container d7e846c393f3 [2022-07-27T16:26:34.148Z] ---> 8f1948bcf1a0 [2022-07-27T16:26:34.148Z] Step 33/35 : LABEL arch=amd64 [2022-07-27T16:26:34.148Z] ---> Running in d1b05fa396c8 [2022-07-27T16:26:34.148Z] Removing intermediate container d1b05fa396c8 [2022-07-27T16:26:34.148Z] ---> 830dde72580b [2022-07-27T16:26:34.148Z] Step 34/35 : LABEL git_sha=d8ce33f54bffff56d78fb8445f1b608d8e006155 [2022-07-27T16:26:34.148Z] ---> Running in 2dd123b3cf0d [2022-07-27T16:26:34.409Z] Removing intermediate container 2dd123b3cf0d [2022-07-27T16:26:34.409Z] ---> 03a7fb292fd3 [2022-07-27T16:26:34.409Z] Step 35/35 : LABEL version=0.0.0 [2022-07-27T16:26:34.409Z] ---> Running in 087e3895fbb2 [2022-07-27T16:26:34.409Z] Removing intermediate container 087e3895fbb2 [2022-07-27T16:26:34.409Z] ---> af405fd55afa [2022-07-27T16:26:34.409Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-27T16:26:34.409Z] Successfully built af405fd55afa [2022-07-27T16:26:34.409Z] 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-07-27T16:26:34.848Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-27T16:26:34.848Z] [2022-07-27T16:26:34.848Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-27T16:26:35.200Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-27T16:26:35.200Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-27T16:26:35.200Z] 5eb5b503b376: Pulling fs layer [2022-07-27T16:26:35.200Z] 5c69ac0246d0: Pulling fs layer [2022-07-27T16:26:35.200Z] ec43610c2a17: Pulling fs layer [2022-07-27T16:26:35.200Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-27T16:26:35.200Z] 33b1e0a273af: Pulling fs layer [2022-07-27T16:26:35.200Z] 5d3b04190fa2: Pulling fs layer [2022-07-27T16:26:35.200Z] 2f39f015ded8: Pulling fs layer [2022-07-27T16:26:35.200Z] 33b1e0a273af: Waiting [2022-07-27T16:26:35.200Z] 5d3b04190fa2: Waiting [2022-07-27T16:26:35.200Z] 2f39f015ded8: Waiting [2022-07-27T16:26:35.200Z] 3a2ae6a8a46f: Waiting [2022-07-27T16:26:35.200Z] 5c69ac0246d0: Verifying Checksum [2022-07-27T16:26:35.200Z] 5c69ac0246d0: Download complete [2022-07-27T16:26:35.200Z] 3a2ae6a8a46f: Download complete [2022-07-27T16:26:35.200Z] ec43610c2a17: Verifying Checksum [2022-07-27T16:26:35.200Z] ec43610c2a17: Download complete [2022-07-27T16:26:35.200Z] 33b1e0a273af: Verifying Checksum [2022-07-27T16:26:35.200Z] 33b1e0a273af: Download complete [2022-07-27T16:26:35.200Z] 5d3b04190fa2: Verifying Checksum [2022-07-27T16:26:35.200Z] 5d3b04190fa2: Download complete [2022-07-27T16:26:35.503Z] 5eb5b503b376: Download complete [2022-07-27T16:26:36.073Z] 2f39f015ded8: Verifying Checksum [2022-07-27T16:26:36.073Z] 2f39f015ded8: Download complete [2022-07-27T16:26:36.643Z] 5eb5b503b376: Pull complete [2022-07-27T16:26:36.904Z] 5c69ac0246d0: Pull complete [2022-07-27T16:26:37.472Z] ec43610c2a17: Pull complete [2022-07-27T16:26:37.472Z] 3a2ae6a8a46f: Pull complete [2022-07-27T16:26:37.731Z] 33b1e0a273af: Pull complete [2022-07-27T16:26:37.731Z] 5d3b04190fa2: Pull complete [2022-07-27T16:26:41.922Z] 2f39f015ded8: Pull complete [2022-07-27T16:26:41.922Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-27T16:26:41.922Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-27T16:26:41.922Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-27T16:26:42.025Z] prd-ubuntu20.04-docker-8c-8g-21241 does not seem to be running inside a container [2022-07-27T16:26:42.061Z] $ 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/xfoundry_device-usb-camera_PR-62 -v /w/workspace/xfoundry_device-usb-camera_PR-62:/w/workspace/xfoundry_device-usb-camera_PR-62:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-62@tmp:/w/workspace/xfoundry_device-usb-camera_PR-62@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-27T16:26:43.572Z] $ docker top ad9b6bd56643c8eea03ba1d772aef731bf1a832a024cdc318386cd0b2a018f7d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-27T16:26:43.966Z] ---> job-cost.sh [2022-07-27T16:26:43.967Z] lf-activate-venv: SKIPPING [2022-07-27T16:26:43.967Z] INFO: No Stack... [2022-07-27T16:26:44.537Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-27T16:26:45.109Z] INFO: Archiving Costs [Pipeline] sh [2022-07-27T16:26:45.402Z] + cat /w/workspace/xfoundry_device-usb-camera_PR-62/archives/cost.csv [2022-07-27T16:26:45.402Z] + cut -d, -f6 [Pipeline] lock [2022-07-27T16:26:45.418Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-62-3-stack-cost] [2022-07-27T16:26:45.428Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-62-3-stack-cost] did not exist. Created. [2022-07-27T16:26:45.428Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-62-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-27T16:26:45.735Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-27T16:26:45.767Z] Stashed 1 file(s) [Pipeline] } [2022-07-27T16:26:45.777Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-62-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-27T16:26:45.801Z] $ docker stop --time=1 ad9b6bd56643c8eea03ba1d772aef731bf1a832a024cdc318386cd0b2a018f7d [2022-07-27T16:26:46.971Z] $ docker rm -f ad9b6bd56643c8eea03ba1d772aef731bf1a832a024cdc318386cd0b2a018f7d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-27T16:26:48.313Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-21242 in /w/workspace/xfoundry_device-usb-camera_PR-62 [Pipeline] { [Pipeline] ws [2022-07-27T16:26:48.324Z] Running in /w/workspace/device-usb-camera/3 [Pipeline] { [Pipeline] checkout [2022-07-27T16:26:48.396Z] Selected Git installation does not exist. Using Default [2022-07-27T16:26:48.396Z] The recommended git tool is: NONE [2022-07-27T16:26:54.540Z] using credential edgex-jenkins-ssh [2022-07-27T16:26:54.556Z] Cloning the remote Git repository [2022-07-27T16:26:54.608Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2022-07-27T16:26:54.676Z] > git init /w/workspace/device-usb-camera/3 # timeout=10 [2022-07-27T16:26:54.737Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2022-07-27T16:26:54.737Z] > git --version # timeout=10 [2022-07-27T16:26:54.753Z] > git --version # 'git version 2.25.1' [2022-07-27T16:26:54.755Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-27T16:26:54.846Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-27T16:26:56.107Z] Merging remotes/origin/main commit e07d484d1f5eb205c2c6f6ecd02e5a0c78a6dd12 into PR head commit a5dbb17fea9ab8f061e05e2ab80c55fc5f98fbac [2022-07-27T16:26:56.363Z] Merge succeeded, producing 0e4abf3323573a3742eccff71a8d2b6c589ea0f3 [2022-07-27T16:26:56.363Z] Checking out Revision 0e4abf3323573a3742eccff71a8d2b6c589ea0f3 (PR-62) [2022-07-27T16:26:55.417Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2022-07-27T16:26:55.433Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-27T16:26:55.461Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2022-07-27T16:26:55.539Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2022-07-27T16:26:55.540Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-27T16:26:55.578Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/62/head:refs/remotes/origin/PR-62 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-07-27T16:26:56.129Z] > git config core.sparsecheckout # timeout=10 [2022-07-27T16:26:56.145Z] > git checkout -f a5dbb17fea9ab8f061e05e2ab80c55fc5f98fbac # timeout=10 [2022-07-27T16:26:56.233Z] > git remote # timeout=10 [2022-07-27T16:26:56.252Z] > git config --get remote.origin.url # timeout=10 [2022-07-27T16:26:56.265Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-27T16:26:56.284Z] > git merge e07d484d1f5eb205c2c6f6ecd02e5a0c78a6dd12 # timeout=10 [2022-07-27T16:26:56.345Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-07-27T16:26:56.373Z] > git config core.sparsecheckout # timeout=10 [2022-07-27T16:26:56.387Z] > git checkout -f 0e4abf3323573a3742eccff71a8d2b6c589ea0f3 # timeout=10 [2022-07-27T16:27:00.478Z] Commit message: "Merge commit 'e07d484d1f5eb205c2c6f6ecd02e5a0c78a6dd12' into HEAD" [2022-07-27T16:27:00.489Z] > git rev-list --no-walk d4b89346d8861a6e61ca4129a9ea365d57e7a3ba # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-27T16:27:01.518Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-27T16:27:01.518Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-27T16:27:01.518Z] Dload Upload Total Spent Left Speed [2022-07-27T16:27:01.518Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 98k 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh [2022-07-27T16:27:02.257Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-27T16:27:02.600Z] + sudo tee /etc/docker/daemon.new [2022-07-27T16:27:02.600Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-07-27T16:27:02.600Z] { [2022-07-27T16:27:02.600Z] "registry-mirrors": [ [2022-07-27T16:27:02.600Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-27T16:27:02.600Z] ], [2022-07-27T16:27:02.600Z] "bip": "10.250.0.254/24", [2022-07-27T16:27:02.600Z] "hosts": [ [2022-07-27T16:27:02.600Z] "tcp://0.0.0.0:5555", [2022-07-27T16:27:02.600Z] "unix:///var/run/docker.sock" [2022-07-27T16:27:02.600Z] ], [2022-07-27T16:27:02.600Z] "mtu": 1458, [2022-07-27T16:27:02.600Z] "selinux-enabled": true, [2022-07-27T16:27:02.600Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-27T16:27:02.600Z] } [Pipeline] sh [2022-07-27T16:27:02.945Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-27T16:27:03.283Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-27T16:27:21.615Z] provisioning config files... [2022-07-27T16:27:21.638Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/3@tmp/config7210021219913559833tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-27T16:27:22.166Z] ---> docker-login.sh [2022-07-27T16:27:22.166Z] nexus3.edgexfoundry.org:10001 [2022-07-27T16:27:22.759Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-27T16:27:23.028Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-27T16:27:23.028Z] Configure a credential helper to remove this warning. See [2022-07-27T16:27:23.028Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-27T16:27:23.028Z] [2022-07-27T16:27:23.028Z] Login Succeeded [2022-07-27T16:27:23.028Z] nexus3.edgexfoundry.org:10002 [2022-07-27T16:27:23.301Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-27T16:27:23.301Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-27T16:27:23.301Z] Configure a credential helper to remove this warning. See [2022-07-27T16:27:23.301Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-27T16:27:23.301Z] [2022-07-27T16:27:23.301Z] Login Succeeded [2022-07-27T16:27:23.301Z] nexus3.edgexfoundry.org:10003 [2022-07-27T16:27:23.894Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-27T16:27:23.894Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-27T16:27:23.894Z] Configure a credential helper to remove this warning. See [2022-07-27T16:27:23.894Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-27T16:27:23.894Z] [2022-07-27T16:27:23.894Z] Login Succeeded [2022-07-27T16:27:23.894Z] nexus3.edgexfoundry.org:10004 [2022-07-27T16:27:24.168Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-27T16:27:24.169Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-27T16:27:24.169Z] Configure a credential helper to remove this warning. See [2022-07-27T16:27:24.169Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-27T16:27:24.169Z] [2022-07-27T16:27:24.169Z] Login Succeeded [2022-07-27T16:27:24.169Z] docker.io [2022-07-27T16:27:24.762Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-27T16:27:25.041Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-27T16:27:25.042Z] Configure a credential helper to remove this warning. See [2022-07-27T16:27:25.042Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-27T16:27:25.042Z] [2022-07-27T16:27:25.042Z] Login Succeeded [2022-07-27T16:27:25.042Z] ---> docker-login.sh ends [Pipeline] } [2022-07-27T16:27:25.060Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-27T16:27:25.316Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-27T16:27:25.339Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-27T16:27:25.354Z] ========================================================= [2022-07-27T16:27:25.354Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-07-27T16:27:25.354Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-27T16:27:25.733Z] + 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-07-27T16:27:26.005Z] Sending build context to Docker daemon 529.4kB [2022-07-27T16:27:26.005Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-07-27T16:27:26.005Z] Step 2/13 : FROM ${BASE} AS builder [2022-07-27T16:27:26.279Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-27T16:27:26.280Z] b3c136eddcbf: Pulling fs layer [2022-07-27T16:27:26.280Z] c0a3192eca97: Pulling fs layer [2022-07-27T16:27:26.280Z] a050256f5b6f: Pulling fs layer [2022-07-27T16:27:26.280Z] 656be50a0ddc: Pulling fs layer [2022-07-27T16:27:26.280Z] 2bbca73fdf42: Pulling fs layer [2022-07-27T16:27:26.280Z] 46d945488cbd: Pulling fs layer [2022-07-27T16:27:26.280Z] 8a5474983e97: Pulling fs layer [2022-07-27T16:27:26.280Z] 329c88fbcd65: Pulling fs layer [2022-07-27T16:27:26.280Z] 656be50a0ddc: Waiting [2022-07-27T16:27:26.280Z] 46d945488cbd: Waiting [2022-07-27T16:27:26.280Z] 8a5474983e97: Waiting [2022-07-27T16:27:26.280Z] 329c88fbcd65: Waiting [2022-07-27T16:27:26.280Z] 2bbca73fdf42: Waiting [2022-07-27T16:27:26.280Z] a050256f5b6f: Verifying Checksum [2022-07-27T16:27:26.280Z] a050256f5b6f: Download complete [2022-07-27T16:27:26.280Z] c0a3192eca97: Verifying Checksum [2022-07-27T16:27:26.280Z] c0a3192eca97: Download complete [2022-07-27T16:27:26.280Z] 2bbca73fdf42: Verifying Checksum [2022-07-27T16:27:26.280Z] 2bbca73fdf42: Download complete [2022-07-27T16:27:26.280Z] 46d945488cbd: Verifying Checksum [2022-07-27T16:27:26.280Z] 46d945488cbd: Download complete [2022-07-27T16:27:26.280Z] b3c136eddcbf: Verifying Checksum [2022-07-27T16:27:26.280Z] b3c136eddcbf: Download complete [2022-07-27T16:27:27.274Z] b3c136eddcbf: Pull complete [2022-07-27T16:27:27.274Z] 329c88fbcd65: Verifying Checksum [2022-07-27T16:27:27.274Z] 329c88fbcd65: Download complete [2022-07-27T16:27:27.873Z] c0a3192eca97: Pull complete [2022-07-27T16:27:27.873Z] a050256f5b6f: Pull complete [2022-07-27T16:27:28.472Z] 8a5474983e97: Verifying Checksum [2022-07-27T16:27:28.472Z] 8a5474983e97: Download complete [2022-07-27T16:27:29.068Z] 656be50a0ddc: Verifying Checksum [2022-07-27T16:27:29.068Z] 656be50a0ddc: Download complete [2022-07-27T16:27:41.469Z] 656be50a0ddc: Pull complete [2022-07-27T16:27:41.742Z] 2bbca73fdf42: Pull complete [2022-07-27T16:27:42.018Z] 46d945488cbd: Pull complete [2022-07-27T16:27:48.739Z] 8a5474983e97: Pull complete [2022-07-27T16:27:50.176Z] 329c88fbcd65: Pull complete [2022-07-27T16:27:50.176Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-07-27T16:27:50.176Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-07-27T16:27:50.176Z] ---> ff4287adb874 [2022-07-27T16:27:50.176Z] Step 3/13 : ARG MAKE="make build" [2022-07-27T16:27:52.799Z] ---> Running in a4febdf590e4 [2022-07-27T16:27:52.799Z] Removing intermediate container a4febdf590e4 [2022-07-27T16:27:52.799Z] ---> 732d789849b5 [2022-07-27T16:27:52.799Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" [2022-07-27T16:27:52.799Z] ---> Running in 4c29849cbb0e [2022-07-27T16:27:53.072Z] Removing intermediate container 4c29849cbb0e [2022-07-27T16:27:53.072Z] ---> b88c744aa349 [2022-07-27T16:27:53.072Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-07-27T16:27:53.072Z] ---> Running in 3e530072d1f1 [2022-07-27T16:27:53.350Z] Removing intermediate container 3e530072d1f1 [2022-07-27T16:27:53.350Z] ---> ff64eac231ad [2022-07-27T16:27:53.350Z] Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-27T16:27:53.350Z] ---> Running in 1e1603e00ed5 [2022-07-27T16:27:55.982Z] Removing intermediate container 1e1603e00ed5 [2022-07-27T16:27:55.982Z] ---> 7a13c5e1a7dc [2022-07-27T16:27:55.982Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-27T16:27:55.982Z] ---> Running in 8c8323f02bc1 [2022-07-27T16:27:56.964Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-27T16:27:57.942Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-27T16:27:58.918Z] (1/14) Installing libintl (0.21-r2) [2022-07-27T16:27:58.918Z] (2/14) Installing eudev-libs (3.2.11-r0) [2022-07-27T16:27:58.918Z] (3/14) Installing libjpeg-turbo (2.1.3-r1) [2022-07-27T16:27:58.918Z] (4/14) Installing v4l-utils-libs (1.22.1-r1) [2022-07-27T16:27:59.190Z] (5/14) Installing v4l-utils (1.22.1-r1) [2022-07-27T16:27:59.190Z] (6/14) Installing udev-init-scripts (35-r0) [2022-07-27T16:27:59.463Z] Executing udev-init-scripts-35-r0.post-install [2022-07-27T16:27:59.463Z] (7/14) Installing libblkid (2.38-r1) [2022-07-27T16:27:59.463Z] (8/14) Installing xz-libs (5.2.5-r1) [2022-07-27T16:27:59.463Z] (9/14) Installing zstd-libs (1.5.2-r1) [2022-07-27T16:27:59.736Z] (10/14) Installing kmod-libs (29-r2) [2022-07-27T16:27:59.736Z] (11/14) Installing eudev (3.2.11-r0) [2022-07-27T16:28:00.008Z] (12/14) Installing eudev-dev (3.2.11-r0) [2022-07-27T16:28:00.008Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) [2022-07-27T16:28:00.008Z] (14/14) Installing v4l-utils-dev (1.22.1-r1) [2022-07-27T16:28:00.284Z] Executing busybox-1.35.0-r13.trigger [2022-07-27T16:28:00.284Z] Executing eudev-3.2.11-r0.trigger [2022-07-27T16:28:00.284Z] OK: 228 MiB in 65 packages [2022-07-27T16:28:01.737Z] Removing intermediate container 8c8323f02bc1 [2022-07-27T16:28:01.737Z] ---> a2048f66f900 [2022-07-27T16:28:01.737Z] Step 8/13 : WORKDIR /device-usb-camera [2022-07-27T16:28:01.737Z] ---> Running in 0da2045e30e8 [2022-07-27T16:28:01.737Z] Removing intermediate container 0da2045e30e8 [2022-07-27T16:28:01.737Z] ---> 020d3ccf9ca6 [2022-07-27T16:28:01.737Z] Step 9/13 : COPY go.mod vendor* ./ [2022-07-27T16:28:02.340Z] ---> 538c45e507b3 [2022-07-27T16:28:02.340Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-27T16:28:02.624Z] ---> Running in bc1efb90a6cb [2022-07-27T16:28:49.629Z] Removing intermediate container bc1efb90a6cb [2022-07-27T16:28:49.629Z] ---> 4a02c2a94fb7 [2022-07-27T16:28:49.629Z] Step 11/13 : COPY . . [2022-07-27T16:28:49.629Z] ---> 19280f1408c5 [2022-07-27T16:28:49.629Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2022-07-27T16:28:49.629Z] ---> Running in a7ba513d4f1f [2022-07-27T16:28:49.629Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-27T16:28:49.629Z] Dload Upload Total Spent Left Speed [2022-07-27T16:28:49.629Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0  0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 16285 0 --:--:-- --:--:-- --:--:-- 16338 [2022-07-27T16:28:49.629Z] Removing intermediate container a7ba513d4f1f [2022-07-27T16:28:49.629Z] ---> ea7dd3da2113 [2022-07-27T16:28:49.629Z] Step 13/13 : RUN ${MAKE} [2022-07-27T16:28:49.629Z] ---> Running in fe1d2229ae9d [2022-07-27T16:28:49.629Z] noop [2022-07-27T16:28:49.629Z] Removing intermediate container fe1d2229ae9d [2022-07-27T16:28:49.629Z] ---> 580208dcf961 [2022-07-27T16:28:49.629Z] Successfully built 580208dcf961 [2022-07-27T16:28:49.629Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-27T16:28:49.989Z] + docker inspect -f . ci-base-image-arm64 [2022-07-27T16:28:49.989Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-27T16:28:50.236Z] prd-ubuntu20.04-docker-arm64-4c-16g-21242 does not seem to be running inside a container [2022-07-27T16:28:50.325Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/3 -v /w/workspace/device-usb-camera/3:/w/workspace/device-usb-camera/3:rw,z -v /w/workspace/device-usb-camera/3@tmp:/w/workspace/device-usb-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-27T16:28:51.597Z] $ docker top adbc3b10cb38378ec516551b497aa478ec79d50ab4c6c9ebbcd93e8ac27722c1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-27T16:28:52.509Z] + go version [2022-07-27T16:28:52.509Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-07-27T16:28:52.536Z] $ docker stop --time=1 adbc3b10cb38378ec516551b497aa478ec79d50ab4c6c9ebbcd93e8ac27722c1 [2022-07-27T16:28:54.149Z] $ docker rm -f adbc3b10cb38378ec516551b497aa478ec79d50ab4c6c9ebbcd93e8ac27722c1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-27T16:28:54.740Z] + docker inspect -f . ci-base-image-arm64 [2022-07-27T16:28:54.740Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-27T16:28:54.989Z] prd-ubuntu20.04-docker-arm64-4c-16g-21242 does not seem to be running inside a container [2022-07-27T16:28:55.078Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-usb-camera/3 -v /w/workspace/device-usb-camera/3:/w/workspace/device-usb-camera/3:rw,z -v /w/workspace/device-usb-camera/3@tmp:/w/workspace/device-usb-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-27T16:28:56.354Z] $ docker top b04d6b911300986db58fa6f71625beb71b1998f93bc54fedf2418571c652c29a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-27T16:28:57.267Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/3 [Pipeline] fileExists [Pipeline] sh [2022-07-27T16:28:57.937Z] + make test [2022-07-27T16:28:57.937Z] CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... [2022-07-27T16:28:59.385Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2022-07-27T16:30:21.256Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2022-07-27T16:30:23.895Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.066s coverage: 1.9% of statements [2022-07-27T16:30:23.895Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-07-27T16:30:23.895Z] CGO_ENABLED=1 go vet ./... [2022-07-27T16:30:46.115Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-27T16:30:46.115Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-27T16:30:46.115Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-27T16:30:46.139Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-27T16:30:46.157Z] $ docker stop --time=1 b04d6b911300986db58fa6f71625beb71b1998f93bc54fedf2418571c652c29a [2022-07-27T16:30:47.941Z] $ docker rm -f b04d6b911300986db58fa6f71625beb71b1998f93bc54fedf2418571c652c29a [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-27T16:30:48.899Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-27T16:30:48.929Z] Warning: overwriting stash ‘coverage-report’ [2022-07-27T16:30:49.397Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-27T16:30:49.779Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-27T16:30:50.113Z] + ls -al . [2022-07-27T16:30:50.113Z] total 188 [2022-07-27T16:30:50.113Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 27 16:30 . [2022-07-27T16:30:50.113Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 27 16:26 .. [2022-07-27T16:30:50.113Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 27 16:27 .git [2022-07-27T16:30:50.113Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 27 16:26 .github [2022-07-27T16:30:50.113Z] -rw-rw-r-- 1 jenkins jenkins 414 Jul 27 16:26 .gitignore [2022-07-27T16:30:50.113Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 27 16:26 .golangci.yml [2022-07-27T16:30:50.113Z] -rw-rw-r-- 1 jenkins jenkins 77 Jul 27 16:26 .hadolint.yml [2022-07-27T16:30:50.113Z] -rw-rw-r-- 1 jenkins jenkins 9065 Jul 27 16:26 Attribution.txt [2022-07-27T16:30:50.113Z] -rw-rw-r-- 1 jenkins jenkins 1206 Jul 27 16:26 CHANGELOG.md [2022-07-27T16:30:50.113Z] -rw-rw-r-- 1 jenkins jenkins 2410 Jul 27 16:26 Dockerfile [2022-07-27T16:30:50.114Z] -rw-rw-r-- 1 jenkins jenkins 678 Jul 27 16:26 GOVERNANCE.md [2022-07-27T16:30:50.114Z] -rw-rw-r-- 1 jenkins jenkins 659 Jul 27 16:26 Jenkinsfile [2022-07-27T16:30:50.114Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 27 16:26 LICENSE [2022-07-27T16:30:50.114Z] -rw-rw-r-- 1 jenkins jenkins 2345 Jul 27 16:26 Makefile [2022-07-27T16:30:50.114Z] -rw-rw-r-- 1 jenkins jenkins 622 Jul 27 16:26 OWNERS.md [2022-07-27T16:30:50.114Z] -rw-rw-r-- 1 jenkins jenkins 11382 Jul 27 16:26 README.md [2022-07-27T16:30:50.114Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 27 16:24 VERSION [2022-07-27T16:30:50.114Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 27 16:26 bin [2022-07-27T16:30:50.114Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 27 16:26 cmd [2022-07-27T16:30:50.114Z] -rw-r--r-- 1 jenkins jenkins 29387 Jul 27 16:30 coverage.out [2022-07-27T16:30:50.114Z] -rwxrwxr-x 1 jenkins jenkins 140 Jul 27 16:26 docker-entrypoint.sh [2022-07-27T16:30:50.114Z] -rw-rw-r-- 1 jenkins jenkins 3382 Jul 27 16:26 go.mod [2022-07-27T16:30:50.114Z] -rw-rw-r-- 1 jenkins jenkins 35824 Jul 27 16:26 go.sum [2022-07-27T16:30:50.114Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 27 16:26 internal [2022-07-27T16:30:50.114Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 27 16:26 snap [2022-07-27T16:30:50.114Z] -rw-rw-r-- 1 jenkins jenkins 231 Jul 27 16:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-27T16:30:50.473Z] + 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=0e4abf3323573a3742eccff71a8d2b6c589ea0f3 --label arch=arm64 --label version=0.0.0 . [2022-07-27T16:30:50.748Z] Sending build context to Docker daemon 559.6kB [2022-07-27T16:30:50.748Z] Step 1/35 : ARG BASE=golang:1.17-alpine3.15 [2022-07-27T16:30:50.748Z] Step 2/35 : FROM ${BASE} AS builder [2022-07-27T16:30:50.748Z] ---> 580208dcf961 [2022-07-27T16:30:50.748Z] Step 3/35 : ARG MAKE="make build" [2022-07-27T16:30:51.024Z] ---> Running in b1e6dfd45509 [2022-07-27T16:30:51.299Z] Removing intermediate container b1e6dfd45509 [2022-07-27T16:30:51.299Z] ---> f2e75a8ad1ff [2022-07-27T16:30:51.299Z] Step 4/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" [2022-07-27T16:30:51.299Z] ---> Running in fb3042d507e2 [2022-07-27T16:30:51.572Z] Removing intermediate container fb3042d507e2 [2022-07-27T16:30:51.572Z] ---> 2b85518b1992 [2022-07-27T16:30:51.572Z] Step 5/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-07-27T16:30:51.846Z] ---> Running in 9633c02dd35d [2022-07-27T16:30:52.119Z] Removing intermediate container 9633c02dd35d [2022-07-27T16:30:52.119Z] ---> 5371187f4214 [2022-07-27T16:30:52.119Z] Step 6/35 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-27T16:30:52.119Z] ---> Running in 781bc5459efb [2022-07-27T16:30:54.107Z] Removing intermediate container 781bc5459efb [2022-07-27T16:30:54.107Z] ---> 1fdda91d4307 [2022-07-27T16:30:54.107Z] Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-27T16:30:54.107Z] ---> Running in dee7d63922a9 [2022-07-27T16:30:54.707Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-27T16:30:55.684Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-27T16:30:56.664Z] OK: 228 MiB in 65 packages [2022-07-27T16:30:57.271Z] Removing intermediate container dee7d63922a9 [2022-07-27T16:30:57.271Z] ---> 019fe44be8ff [2022-07-27T16:30:57.271Z] Step 8/35 : WORKDIR /device-usb-camera [2022-07-27T16:30:57.551Z] ---> Running in 6c05a9b83b29 [2022-07-27T16:30:57.826Z] Removing intermediate container 6c05a9b83b29 [2022-07-27T16:30:57.826Z] ---> 61357e076244 [2022-07-27T16:30:57.826Z] Step 9/35 : COPY go.mod vendor* ./ [2022-07-27T16:30:58.425Z] ---> 7a981933805f [2022-07-27T16:30:58.425Z] Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-27T16:30:58.425Z] ---> Running in e512c7f1ddb4 [2022-07-27T16:31:00.406Z] Removing intermediate container e512c7f1ddb4 [2022-07-27T16:31:00.406Z] ---> 49b7ef4af68a [2022-07-27T16:31:00.406Z] Step 11/35 : COPY . . [2022-07-27T16:31:01.005Z] ---> 19b7defa042b [2022-07-27T16:31:01.005Z] Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2022-07-27T16:31:01.005Z] ---> Running in 675fb820c4bd [2022-07-27T16:31:01.994Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-27T16:31:01.994Z] Dload Upload Total Spent Left Speed [2022-07-27T16:31:02.269Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0  0 --:--:-- --:--:-- --:--:--  0 100 1062 100 1062 0 0 7120 0 --:--:-- --:--:-- --:--:-- 7127 [2022-07-27T16:31:02.873Z] Removing intermediate container 675fb820c4bd [2022-07-27T16:31:02.873Z] ---> ed2ab6b3b4a2 [2022-07-27T16:31:02.873Z] Step 13/35 : RUN ${MAKE} [2022-07-27T16:31:02.873Z] ---> Running in 335b1fd3b869 [2022-07-27T16:31:03.857Z] CGO_ENABLED=1 go build -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.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd [2022-07-27T16:33:25.789Z] Removing intermediate container 335b1fd3b869 [2022-07-27T16:33:25.789Z] ---> 09754759ba7f [2022-07-27T16:33:25.789Z] Step 14/35 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp [2022-07-27T16:33:25.789Z] v0.18.4: Pulling from aler9/rtsp-simple-server [2022-07-27T16:33:25.789Z] eab2503cf8f4: Pulling fs layer [2022-07-27T16:33:25.789Z] 97cd0a44c592: Pulling fs layer [2022-07-27T16:33:25.789Z] 97cd0a44c592: Verifying Checksum [2022-07-27T16:33:25.789Z] 97cd0a44c592: Download complete [2022-07-27T16:33:25.789Z] eab2503cf8f4: Verifying Checksum [2022-07-27T16:33:25.789Z] eab2503cf8f4: Download complete [2022-07-27T16:33:25.789Z] eab2503cf8f4: Pull complete [2022-07-27T16:33:25.789Z] 97cd0a44c592: Pull complete [2022-07-27T16:33:25.789Z] Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 [2022-07-27T16:33:25.789Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 [2022-07-27T16:33:25.789Z] ---> 7f763cca56b3 [2022-07-27T16:33:25.789Z] Step 15/35 : FROM alpine:3.15 [2022-07-27T16:33:25.789Z] 3.15: Pulling from library/alpine [2022-07-27T16:33:25.789Z] e0295fd11fe2: Pulling fs layer [2022-07-27T16:33:25.789Z] e0295fd11fe2: Verifying Checksum [2022-07-27T16:33:25.789Z] e0295fd11fe2: Download complete [2022-07-27T16:33:25.789Z] e0295fd11fe2: Pull complete [2022-07-27T16:33:25.789Z] Digest: sha256:0483110c51a764abe175a8cefb941541ca0bc0f628ce418d3a660338abf4622a [2022-07-27T16:33:25.789Z] Status: Downloaded newer image for alpine:3.15 [2022-07-27T16:33:25.789Z] ---> 60f2846fe774 [2022-07-27T16:33:25.789Z] Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-07-27T16:33:25.789Z] ---> Running in 2b53c8293c80 [2022-07-27T16:33:25.789Z] Removing intermediate container 2b53c8293c80 [2022-07-27T16:33:25.789Z] ---> 9f226e5d30c1 [2022-07-27T16:33:25.789Z] Step 17/35 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev [2022-07-27T16:33:25.789Z] ---> Running in ab4fc616af27 [2022-07-27T16:33:25.789Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-27T16:33:25.789Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-27T16:33:25.789Z] (1/73) Installing dumb-init (1.2.5-r1) [2022-07-27T16:33:25.789Z] (2/73) Installing sdl2 (2.0.16-r4) [2022-07-27T16:33:25.789Z] (3/73) Installing libxau (1.0.9-r0) [2022-07-27T16:33:25.789Z] (4/73) Installing libmd (1.0.3-r0) [2022-07-27T16:33:25.789Z] (5/73) Installing libbsd (0.11.3-r1) [2022-07-27T16:33:25.789Z] (6/73) Installing libxdmcp (1.1.3-r0) [2022-07-27T16:33:25.789Z] (7/73) Installing libxcb (1.14-r2) [2022-07-27T16:33:25.789Z] (8/73) Installing libx11 (1.7.2-r0) [2022-07-27T16:33:25.789Z] (9/73) Installing aom-libs (3.2.0-r0) [2022-07-27T16:33:25.789Z] (10/73) Installing alsa-lib (1.2.5.1-r1) [2022-07-27T16:33:25.789Z] (11/73) Installing expat (2.4.7-r0) [2022-07-27T16:33:25.789Z] (12/73) Installing brotli-libs (1.0.9-r5) [2022-07-27T16:33:25.789Z] (13/73) Installing libbz2 (1.0.8-r1) [2022-07-27T16:33:25.789Z] (14/73) Installing libpng (1.6.37-r1) [2022-07-27T16:33:25.789Z] (15/73) Installing freetype (2.11.1-r2) [2022-07-27T16:33:25.789Z] (16/73) Installing libuuid (2.37.4-r0) [2022-07-27T16:33:25.790Z] (17/73) Installing fontconfig (2.13.1-r4) [2022-07-27T16:33:25.790Z] (18/73) Installing fribidi (1.0.11-r0) [2022-07-27T16:33:25.790Z] (19/73) Installing libffi (3.4.2-r1) [2022-07-27T16:33:25.790Z] (20/73) Installing libintl (0.21-r0) [2022-07-27T16:33:25.790Z] (21/73) Installing libblkid (2.37.4-r0) [2022-07-27T16:33:25.790Z] (22/73) Installing libmount (2.37.4-r0) [2022-07-27T16:33:25.790Z] (23/73) Installing pcre (8.45-r1) [2022-07-27T16:33:25.790Z] (24/73) Installing glib (2.70.1-r0) [2022-07-27T16:33:25.790Z] (25/73) Installing graphite2 (1.3.14-r0) [2022-07-27T16:33:25.790Z] (26/73) Installing harfbuzz (3.0.0-r2) [2022-07-27T16:33:25.790Z] (27/73) Installing libass (0.15.2-r0) [2022-07-27T16:33:25.790Z] (28/73) Installing libdav1d (0.9.2-r0) [2022-07-27T16:33:25.790Z] (29/73) Installing gmp (6.2.1-r1) [2022-07-27T16:33:25.790Z] (30/73) Installing nettle (3.7.3-r0) [2022-07-27T16:33:25.790Z] (31/73) Installing p11-kit (0.24.0-r1) [2022-07-27T16:33:25.790Z] (32/73) Installing libtasn1 (4.18.0-r0) [2022-07-27T16:33:25.790Z] (33/73) Installing libunistring (0.9.10-r1) [2022-07-27T16:33:25.790Z] (34/73) Installing gnutls (3.7.1-r0) [2022-07-27T16:33:25.790Z] (35/73) Installing ncurses-terminfo-base (6.3_p20211120-r1) [2022-07-27T16:33:25.790Z] (36/73) Installing ncurses-libs (6.3_p20211120-r1) [2022-07-27T16:33:25.790Z] (37/73) Installing lame (3.100-r0) [2022-07-27T16:33:25.790Z] (38/73) Installing opus (1.3.1-r1) [2022-07-27T16:33:25.790Z] (39/73) Installing libgomp (10.3.1_git20211027-r0) [2022-07-27T16:33:25.790Z] (40/73) Installing soxr (0.1.3-r2) [2022-07-27T16:33:25.790Z] (41/73) Installing libgcc (10.3.1_git20211027-r0) [2022-07-27T16:33:25.790Z] (42/73) Installing libstdc++ (10.3.1_git20211027-r0) [2022-07-27T16:33:25.790Z] (43/73) Installing libsrt (1.4.2-r1) [2022-07-27T16:33:25.790Z] (44/73) Installing libssh (0.9.6-r1) [2022-07-27T16:33:25.790Z] (45/73) Installing libogg (1.3.5-r0) [2022-07-27T16:33:25.790Z] (46/73) Installing libtheora (1.1.1-r16) [2022-07-27T16:33:25.790Z] (47/73) Installing libjpeg-turbo (2.1.2-r0) [2022-07-27T16:33:25.790Z] (48/73) Installing v4l-utils-libs (1.22.1-r1) [2022-07-27T16:33:25.790Z] (49/73) Installing libxext (1.3.4-r0) [2022-07-27T16:33:25.790Z] (50/73) Installing libxfixes (6.0.0-r0) [2022-07-27T16:33:25.790Z] (51/73) Installing libdrm (2.4.109-r0) [2022-07-27T16:33:25.790Z] (52/73) Installing wayland-libs-client (1.19.0-r1) [2022-07-27T16:33:25.790Z] (53/73) Installing libva (2.13.0-r0) [2022-07-27T16:33:25.790Z] (54/73) Installing libvdpau (1.4-r0) [2022-07-27T16:33:25.790Z] (55/73) Installing vidstab (1.1.0-r1) [2022-07-27T16:33:25.790Z] (56/73) Installing libvorbis (1.3.7-r0) [2022-07-27T16:33:25.790Z] (57/73) Installing libvpx (1.10.0-r0) [2022-07-27T16:33:25.790Z] (58/73) Installing vulkan-loader (1.2.196-r0) [2022-07-27T16:33:25.790Z] (59/73) Installing libwebp (1.2.2-r0) [2022-07-27T16:33:25.790Z] (60/73) Installing x264-libs (20210613-r0) [2022-07-27T16:33:25.790Z] (61/73) Installing x265-libs (3.5-r0) [2022-07-27T16:33:25.790Z] (62/73) Installing xvidcore (1.3.7-r1) [2022-07-27T16:33:25.790Z] (63/73) Installing ffmpeg-libs (4.4.1-r2) [2022-07-27T16:33:25.790Z] (64/73) Installing ffmpeg (4.4.1-r2) [2022-07-27T16:33:25.790Z] (65/73) Installing udev-init-scripts (35-r0) [2022-07-27T16:33:25.790Z] Executing udev-init-scripts-35-r0.post-install [2022-07-27T16:33:25.790Z] (66/73) Installing eudev-libs (3.2.11_pre1-r0) [2022-07-27T16:33:25.790Z] (67/73) Installing xz-libs (5.2.5-r1) [2022-07-27T16:33:25.790Z] (68/73) Installing zstd-libs (1.5.0-r0) [2022-07-27T16:33:25.790Z] (69/73) Installing kmod-libs (29-r2) [2022-07-27T16:33:25.790Z] (70/73) Installing eudev (3.2.11_pre1-r0) [2022-07-27T16:33:25.790Z] (71/73) Installing libsodium (1.0.18-r0) [2022-07-27T16:33:25.790Z] (72/73) Installing libzmq (4.3.4-r0) [2022-07-27T16:33:25.790Z] (73/73) Installing zeromq (4.3.4-r0) [2022-07-27T16:33:25.790Z] Executing busybox-1.34.1-r7.trigger [2022-07-27T16:33:25.790Z] Executing eudev-3.2.11_pre1-r0.trigger [2022-07-27T16:33:25.790Z] OK: 67 MiB in 87 packages [2022-07-27T16:33:25.790Z] Removing intermediate container ab4fc616af27 [2022-07-27T16:33:25.790Z] ---> 1dbdf260cb56 [2022-07-27T16:33:25.790Z] Step 18/35 : WORKDIR / [2022-07-27T16:33:25.790Z] ---> Running in f4907f4f574d [2022-07-27T16:33:25.790Z] Removing intermediate container f4907f4f574d [2022-07-27T16:33:25.790Z] ---> 070b045009fb [2022-07-27T16:33:25.790Z] Step 19/35 : COPY --from=builder /device-usb-camera/cmd / [2022-07-27T16:33:25.790Z] ---> 1e2ba234acab [2022-07-27T16:33:25.790Z] Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / [2022-07-27T16:33:25.790Z] ---> 05a1258c8b42 [2022-07-27T16:33:25.790Z] Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2022-07-27T16:33:25.790Z] ---> ceced5f021d6 [2022-07-27T16:33:25.790Z] Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / [2022-07-27T16:33:26.065Z] ---> 196a9970e5af [2022-07-27T16:33:26.065Z] Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2022-07-27T16:33:26.702Z] ---> fc4b62082814 [2022-07-27T16:33:26.702Z] Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / [2022-07-27T16:33:27.303Z] ---> 43814dafaa34 [2022-07-27T16:33:27.303Z] Step 25/35 : COPY --from=rtsp /rtsp-simple-server / [2022-07-27T16:33:28.741Z] ---> 419f928b972b [2022-07-27T16:33:28.741Z] Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2022-07-27T16:33:28.741Z] ---> Running in 86ce3893c444 [2022-07-27T16:33:30.180Z] Removing intermediate container 86ce3893c444 [2022-07-27T16:33:30.180Z] ---> b85e26b349f0 [2022-07-27T16:33:30.180Z] Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2022-07-27T16:33:30.180Z] ---> Running in 62c0dc138a7c [2022-07-27T16:33:31.638Z] Removing intermediate container 62c0dc138a7c [2022-07-27T16:33:31.638Z] ---> 0e02b01a5086 [2022-07-27T16:33:31.638Z] Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2022-07-27T16:33:31.914Z] ---> Running in 13a6ec32edf2 [2022-07-27T16:33:33.377Z] Removing intermediate container 13a6ec32edf2 [2022-07-27T16:33:33.377Z] ---> 8719e4a84021 [2022-07-27T16:33:33.377Z] Step 29/35 : EXPOSE 59983 [2022-07-27T16:33:33.377Z] ---> Running in 4ea22a8adec4 [2022-07-27T16:33:33.653Z] Removing intermediate container 4ea22a8adec4 [2022-07-27T16:33:33.653Z] ---> f085340e9daa [2022-07-27T16:33:33.653Z] Step 30/35 : EXPOSE 8554 [2022-07-27T16:33:33.934Z] ---> Running in c080f125aece [2022-07-27T16:33:34.208Z] Removing intermediate container c080f125aece [2022-07-27T16:33:34.208Z] ---> 33a2273ef0e3 [2022-07-27T16:33:34.208Z] Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] [2022-07-27T16:33:34.208Z] ---> Running in cfc71cebcf74 [2022-07-27T16:33:34.485Z] Removing intermediate container cfc71cebcf74 [2022-07-27T16:33:34.485Z] ---> 559212ac7b7f [2022-07-27T16:33:34.485Z] Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] [2022-07-27T16:33:34.485Z] ---> Running in e5935eb5141b [2022-07-27T16:33:34.760Z] Removing intermediate container e5935eb5141b [2022-07-27T16:33:34.760Z] ---> 2e55eff21d07 [2022-07-27T16:33:34.760Z] Step 33/35 : LABEL arch=arm64 [2022-07-27T16:33:35.038Z] ---> Running in ef441ca277b7 [2022-07-27T16:33:35.312Z] Removing intermediate container ef441ca277b7 [2022-07-27T16:33:35.312Z] ---> f7f7102daef7 [2022-07-27T16:33:35.312Z] Step 34/35 : LABEL git_sha=0e4abf3323573a3742eccff71a8d2b6c589ea0f3 [2022-07-27T16:33:35.312Z] ---> Running in 570229b26b32 [2022-07-27T16:33:35.592Z] Removing intermediate container 570229b26b32 [2022-07-27T16:33:35.592Z] ---> 9f467f461ff8 [2022-07-27T16:33:35.592Z] Step 35/35 : LABEL version=0.0.0 [2022-07-27T16:33:35.592Z] ---> Running in ffde116c102a [2022-07-27T16:33:36.191Z] Removing intermediate container ffde116c102a [2022-07-27T16:33:36.191Z] ---> 112afae3e06c [2022-07-27T16:33:36.191Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-27T16:33:36.191Z] Successfully built 112afae3e06c [2022-07-27T16:33:36.191Z] 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-07-27T16:33:36.689Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-27T16:33:36.690Z] [2022-07-27T16:33:36.690Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-27T16:33:37.048Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-27T16:33:37.324Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-27T16:33:37.324Z] 8998bd30e6a1: Pulling fs layer [2022-07-27T16:33:37.324Z] 04944245beec: Pulling fs layer [2022-07-27T16:33:37.324Z] 699f458cf7ca: Pulling fs layer [2022-07-27T16:33:37.324Z] 765212b225bb: Pulling fs layer [2022-07-27T16:33:37.324Z] f23df028b6ca: Pulling fs layer [2022-07-27T16:33:37.324Z] d65c8cfc05b1: Pulling fs layer [2022-07-27T16:33:37.324Z] 2437ff75d9bd: Pulling fs layer [2022-07-27T16:33:37.324Z] f23df028b6ca: Waiting [2022-07-27T16:33:37.324Z] 765212b225bb: Waiting [2022-07-27T16:33:37.324Z] d65c8cfc05b1: Waiting [2022-07-27T16:33:37.324Z] 2437ff75d9bd: Waiting [2022-07-27T16:33:37.324Z] 04944245beec: Verifying Checksum [2022-07-27T16:33:37.324Z] 04944245beec: Download complete [2022-07-27T16:33:37.324Z] 765212b225bb: Verifying Checksum [2022-07-27T16:33:37.324Z] 765212b225bb: Download complete [2022-07-27T16:33:37.324Z] f23df028b6ca: Verifying Checksum [2022-07-27T16:33:37.324Z] f23df028b6ca: Download complete [2022-07-27T16:33:37.324Z] d65c8cfc05b1: Verifying Checksum [2022-07-27T16:33:37.324Z] d65c8cfc05b1: Download complete [2022-07-27T16:33:37.602Z] 699f458cf7ca: Verifying Checksum [2022-07-27T16:33:37.603Z] 699f458cf7ca: Download complete [2022-07-27T16:33:37.879Z] 8998bd30e6a1: Verifying Checksum [2022-07-27T16:33:37.879Z] 8998bd30e6a1: Download complete [2022-07-27T16:33:40.506Z] 2437ff75d9bd: Verifying Checksum [2022-07-27T16:33:40.506Z] 2437ff75d9bd: Download complete [2022-07-27T16:33:42.497Z] 8998bd30e6a1: Pull complete [2022-07-27T16:33:42.771Z] 04944245beec: Pull complete [2022-07-27T16:33:44.210Z] 699f458cf7ca: Pull complete [2022-07-27T16:33:44.485Z] 765212b225bb: Pull complete [2022-07-27T16:33:45.466Z] f23df028b6ca: Pull complete [2022-07-27T16:33:45.466Z] d65c8cfc05b1: Pull complete [2022-07-27T16:34:00.568Z] 2437ff75d9bd: Pull complete [2022-07-27T16:34:00.568Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-27T16:34:00.568Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-27T16:34:00.568Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-27T16:34:00.828Z] prd-ubuntu20.04-docker-arm64-4c-16g-21242 does not seem to be running inside a container [2022-07-27T16:34:00.920Z] $ 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/3 -v /w/workspace/device-usb-camera/3:/w/workspace/device-usb-camera/3:rw,z -v /w/workspace/device-usb-camera/3@tmp:/w/workspace/device-usb-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-07-27T16:34:03.524Z] $ docker top 0d32038735f1c61b05b7a83f0c7c0f8cad5d30e3bc593f92e1a06c3473f5fdd4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-27T16:34:04.429Z] ---> job-cost.sh [2022-07-27T16:34:04.429Z] lf-activate-venv: SKIPPING [2022-07-27T16:34:04.429Z] INFO: No Stack... [2022-07-27T16:34:05.025Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-27T16:34:06.000Z] INFO: Archiving Costs [Pipeline] sh [2022-07-27T16:34:06.659Z] + cut -d,+ cat /w/workspace/device-usb-camera/3/archives/cost.csv [2022-07-27T16:34:06.660Z] -f6 [Pipeline] lock [2022-07-27T16:34:06.717Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-62-3-stack-cost] [2022-07-27T16:34:06.724Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-62-3-stack-cost] did not exist. Created. [2022-07-27T16:34:06.724Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-62-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-27T16:34:07.405Z] /w/workspace/device-usb-camera/3@tmp/durable-dfe98f82/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-27T16:34:08.083Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-27T16:34:08.109Z] Warning: overwriting stash ‘stack-cost’ [2022-07-27T16:34:08.162Z] Stashed 1 file(s) [Pipeline] } [2022-07-27T16:34:08.172Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-62-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-27T16:34:08.193Z] $ docker stop --time=1 0d32038735f1c61b05b7a83f0c7c0f8cad5d30e3bc593f92e1a06c3473f5fdd4 [2022-07-27T16:34:09.659Z] $ docker rm -f 0d32038735f1c61b05b7a83f0c7c0f8cad5d30e3bc593f92e1a06c3473f5fdd4 [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-07-27T16:34:10.247Z] provisioning config files... [2022-07-27T16:34:10.256Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/xfoundry_device-usb-camera_PR-62@tmp/config4102866973516738625tmp [Pipeline] { [Pipeline] sh [2022-07-27T16:34:10.553Z] + set +x [2022-07-27T16:34:10.553Z] + + curl -sbash https://codecov.io/bash -s [2022-07-27T16:34:10.553Z] -- [2022-07-27T16:34:10.553Z] [2022-07-27T16:34:10.553Z] _____ _ [2022-07-27T16:34:10.553Z] / ____| | | [2022-07-27T16:34:10.553Z] | | ___ __| | ___ ___ _____ __ [2022-07-27T16:34:10.553Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-07-27T16:34:10.553Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-07-27T16:34:10.553Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-07-27T16:34:10.553Z] Bash-1.0.6 [2022-07-27T16:34:10.553Z] [2022-07-27T16:34:10.553Z] [2022-07-27T16:34:10.553Z] ==> git version 2.25.1 found [2022-07-27T16:34:10.553Z] ==> 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-07-27T16:34:10.553Z] Release-Date: 2020-01-08 [2022-07-27T16:34:10.553Z] 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-07-27T16:34:10.553Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-07-27T16:34:10.553Z] ==> Jenkins CI detected. [2022-07-27T16:34:10.553Z] current dir:  /w/workspace/xfoundry_device-usb-camera_PR-62 [2022-07-27T16:34:10.553Z] project root: . [2022-07-27T16:34:10.553Z] --> token set from env [2022-07-27T16:34:10.553Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-07-27T16:34:10.553Z] ==> Running gcov in . (disable via -X gcov) [2022-07-27T16:34:10.553Z] ==> Python coveragepy not found [2022-07-27T16:34:10.553Z] ==> Searching for coverage reports in: [2022-07-27T16:34:10.553Z] + . [2022-07-27T16:34:10.553Z] -> Found 1 reports [2022-07-27T16:34:10.553Z] ==> Detecting git/mercurial file structure [2022-07-27T16:34:10.553Z] ==> Reading reports [2022-07-27T16:34:10.814Z] + ./coverage.out bytes=29387 [2022-07-27T16:34:10.814Z] ==> Appending adjustments [2022-07-27T16:34:10.814Z] https://docs.codecov.io/docs/fixing-reports [2022-07-27T16:34:10.814Z] + Found adjustments [2022-07-27T16:34:10.814Z] ==> Gzipping contents [2022-07-27T16:34:10.814Z] 8.0K /tmp/codecov.GciurF.gz [2022-07-27T16:34:10.814Z] ==> Uploading reports [2022-07-27T16:34:10.814Z] url: https://codecov.io [2022-07-27T16:34:10.814Z] query: branch=PR-62&commit=d8ce33f54bffff56d78fb8445f1b608d8e006155&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-62%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=62&job=&cmd_args= [2022-07-27T16:34:10.814Z] -> Pinging Codecov [2022-07-27T16:34:10.814Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-62&commit=d8ce33f54bffff56d78fb8445f1b608d8e006155&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-62%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=62&job=&cmd_args= [2022-07-27T16:34:11.074Z] -> Uploading to [2022-07-27T16:34:11.074Z] https://storage.googleapis.com/codecov/v4/raw/2022-07-27/73D8F5FF140700D3E01443B452E23636/d8ce33f54bffff56d78fb8445f1b608d8e006155/b759d996-b1f2-4047-ad87-d682565cc316.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220727%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220727T163410Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=566461882d5319e4db68b3bdaf03997860e0e47db68c003bad2a3cf58b3fc550 [2022-07-27T16:34:11.074Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-27T16:34:11.074Z] Dload Upload Total Spent Left Speed [2022-07-27T16:34:11.337Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4140 0 0 100 4140 0 19903 --:--:-- --:--:-- --:--:-- 19903 [2022-07-27T16:34:11.337Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-usb-camera/commit/d8ce33f54bffff56d78fb8445f1b608d8e006155 [Pipeline] } [2022-07-27T16:34:11.345Z] 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-07-27T16:34:12.030Z] + [ -d /w/workspace/xfoundry_device-usb-camera_PR-62/archives ] [2022-07-27T16:34:12.030Z] + ls -al /w/workspace/xfoundry_device-usb-camera_PR-62/archives [2022-07-27T16:34:12.030Z] total 16 [2022-07-27T16:34:12.030Z] drwxr-xr-x 3 root root 4096 Jul 27 16:26 . [2022-07-27T16:34:12.030Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 27 16:26 .. [2022-07-27T16:34:12.030Z] drwxr-xr-x 2 root root 4096 Jul 27 16:26 cost [2022-07-27T16:34:12.030Z] -rw-r--r-- 1 root root 88 Jul 27 16:26 cost.csv [2022-07-27T16:34:12.030Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-usb-camera_PR-62/archives [2022-07-27T16:34:12.030Z] + ls -al /w/workspace/xfoundry_device-usb-camera_PR-62/archives [2022-07-27T16:34:12.030Z] total 16 [2022-07-27T16:34:12.030Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 27 16:26 . [2022-07-27T16:34:12.030Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 27 16:26 .. [2022-07-27T16:34:12.030Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 27 16:26 cost [2022-07-27T16:34:12.030Z] -rw-r--r-- 1 jenkins jenkins 88 Jul 27 16:26 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-27T16:34:12.328Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-27T16:34:13.200Z] ---> package-listing.sh [2022-07-27T16:34:13.200Z] ++ facter osfamily [2022-07-27T16:34:13.200Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-27T16:34:13.460Z] + OS_FAMILY=debian [2022-07-27T16:34:13.460Z] + workspace=/w/workspace/xfoundry_device-usb-camera_PR-62 [2022-07-27T16:34:13.460Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-27T16:34:13.460Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-27T16:34:13.460Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-27T16:34:13.460Z] + PACKAGES=/tmp/packages_start.txt [2022-07-27T16:34:13.460Z] + '[' /w/workspace/xfoundry_device-usb-camera_PR-62 ']' [2022-07-27T16:34:13.460Z] + PACKAGES=/tmp/packages_end.txt [2022-07-27T16:34:13.460Z] + case "${OS_FAMILY}" in [2022-07-27T16:34:13.460Z] + dpkg -l [2022-07-27T16:34:13.460Z] + grep '^ii' [2022-07-27T16:34:13.460Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-27T16:34:13.460Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-27T16:34:13.460Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-27T16:34:13.460Z] + '[' /w/workspace/xfoundry_device-usb-camera_PR-62 ']' [2022-07-27T16:34:13.460Z] + mkdir -p /w/workspace/xfoundry_device-usb-camera_PR-62/archives/ [2022-07-27T16:34:13.460Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-usb-camera_PR-62/archives/ [Pipeline] echo [2022-07-27T16:34:13.471Z] 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/xfoundry_device-usb-camera_PR-62/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-07-27T16:34:13.752Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-27T16:34:14.315Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-27T16:34:14.316Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-27T16:34:14.394Z] prd-ubuntu20.04-docker-8c-8g-21241 does not seem to be running inside a container [2022-07-27T16:34:14.433Z] $ 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/xfoundry_device-usb-camera_PR-62/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-usb-camera_PR-62 -v /w/workspace/xfoundry_device-usb-camera_PR-62:/w/workspace/xfoundry_device-usb-camera_PR-62:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-62@tmp:/w/workspace/xfoundry_device-usb-camera_PR-62@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-27T16:34:14.671Z] $ docker top 04928c215df8c6b39fce7f30060bec05a22fecf2b37a817fc2c0020730e5b1a7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-27T16:34:15.041Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-27T16:34:15.334Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-27T16:34:15.629Z] + ls /var/log/sa-host [2022-07-27T16:34:15.629Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-27T16:34:15.803Z] provisioning config files... [2022-07-27T16:34:15.816Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-62@tmp/config6355153624264858439tmp [Pipeline] { [Pipeline] echo [2022-07-27T16:34:15.834Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-27T16:34:16.125Z] ---> create-netrc.sh [Pipeline] } [2022-07-27T16:34:16.134Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-27T16:34:16.492Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-27T16:34:16.502Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-27T16:34:16.792Z] ---> sudo-logs.sh [2022-07-27T16:34:16.792Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-27T16:34:16.821Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-27T16:34:17.109Z] ---> job-cost.sh [2022-07-27T16:34:17.109Z] lf-activate-venv: SKIPPING [2022-07-27T16:34:17.109Z] DEBUG: total: 0.2199999988079071 [2022-07-27T16:34:17.109Z] INFO: Retrieving Stack Cost... [2022-07-27T16:34:17.681Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-27T16:34:17.944Z] INFO: Archiving Costs [Pipeline] echo [2022-07-27T16:34:17.955Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-27T16:34:18.322Z] ---> logs-deploy.sh [2022-07-27T16:34:18.322Z] lf-activate-venv: SKIPPING [2022-07-27T16:34:18.322Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-62/3 [2022-07-27T16:34:18.322Z] INFO: archiving workspace using pattern(s): [2022-07-27T16:34:19.265Z] Archives upload complete. [2022-07-27T16:34:19.265Z] INFO: archiving logs to Nexus