Pull request #117 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-usb-camera Loading trusted files from base branch main at a13c0d85fe61587dda65b2f8a27bf555b431ec25 rather than 1d63d692516cbd49c17cc604c425aa28ded834f5 Obtained Jenkinsfile from a13c0d85fe61587dda65b2f8a27bf555b431ec25 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-ssh9158356991533348144.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh15119538605745407519.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-117/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-117/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1051255931127472524.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-117/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5336916783990300082.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh14067263337705818861.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-117/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-117/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3836576647664965204.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-120656 in /w/workspace/foundry_device-usb-camera_PR-117 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-usb-camera.git > git init /w/workspace/foundry_device-usb-camera_PR-117 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit a13c0d85fe61587dda65b2f8a27bf555b431ec25 into PR head commit 1d63d692516cbd49c17cc604c425aa28ded834f5 Merge succeeded, producing 1d63d692516cbd49c17cc604c425aa28ded834f5 Checking out Revision 1d63d692516cbd49c17cc604c425aa28ded834f5 (PR-117) > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/117/head:refs/remotes/origin/PR-117 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1d63d692516cbd49c17cc604c425aa28ded834f5 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge a13c0d85fe61587dda65b2f8a27bf555b431ec25 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1d63d692516cbd49c17cc604c425aa28ded834f5 # timeout=10 Commit message: "fix: improve error messaging for incorrect protocol properties" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-12-06T17:37:25.199Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-12-06T17:37:25.357Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-12-06T17:37:25.457Z] ========================================================= [2022-12-06T17:37:25.457Z] EdgeX Global Pipelines Version Info [2022-12-06T17:37:25.457Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-12-06T17:37:26.208Z] ------------------- [2022-12-06T17:37:26.208Z] stable info: [2022-12-06T17:37:26.208Z] ------------------- [2022-12-06T17:37:26.208Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-12-06T17:37:26.208Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-12-06T17:37:26.208Z] Message: update stable to v1.0.244 [2022-12-06T17:37:26.786Z] ------------------- [2022-12-06T17:37:26.786Z] experimental info: [2022-12-06T17:37:26.786Z] ------------------- [2022-12-06T17:37:26.786Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-12-06T17:37:26.786Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-12-06T17:37:26.786Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-12-06T17:37:27.090Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2022-12-06T17:37:27.136Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2022-12-06T17:37:27.182Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-12-06T17:37:27.222Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-12-06T17:37:27.271Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-12-06T17:37:27.314Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-12-06T17:37:27.353Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-12-06T17:37:27.396Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-12-06T17:37:27.437Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-12-06T17:37:27.478Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-12-06T17:37:27.523Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-12-06T17:37:27.564Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2022-12-06T17:37:27.609Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-12-06T17:37:27.645Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-12-06T17:37:27.688Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-12-06T17:37:27.730Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-12-06T17:37:27.766Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-12-06T17:37:27.807Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-12-06T17:37:27.844Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-12-06T17:37:27.882Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-12-06T17:37:27.928Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-12-06T17:37:27.966Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-12-06T17:37:28.004Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-12-06T17:37:28.047Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-12-06T17:37:28.084Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-12-06T17:37:28.122Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-12-06T17:37:28.157Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-12-06T17:37:28.193Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-117 [Pipeline] echo [2022-12-06T17:37:28.231Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-117 [Pipeline] echo [2022-12-06T17:37:28.268Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-117 [Pipeline] echo [2022-12-06T17:37:28.305Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1d63d692516cbd49c17cc604c425aa28ded834f5 [Pipeline] echo [2022-12-06T17:37:28.346Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1d63d69 [Pipeline] echo [2022-12-06T17:37:28.383Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-12-06T17:37:28.509Z] provisioning config files... [2022-12-06T17:37:28.532Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-117@tmp/config9609344830163594649tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-06T17:37:28.872Z] ---> docker-login.sh [2022-12-06T17:37:28.872Z] nexus3.edgexfoundry.org:10001 [2022-12-06T17:37:29.135Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-06T17:37:29.135Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-06T17:37:29.135Z] Configure a credential helper to remove this warning. See [2022-12-06T17:37:29.135Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-06T17:37:29.135Z] [2022-12-06T17:37:29.135Z] Login Succeeded [2022-12-06T17:37:29.135Z] nexus3.edgexfoundry.org:10002 [2022-12-06T17:37:29.400Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-06T17:37:29.401Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-06T17:37:29.401Z] Configure a credential helper to remove this warning. See [2022-12-06T17:37:29.401Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-06T17:37:29.401Z] [2022-12-06T17:37:29.401Z] Login Succeeded [2022-12-06T17:37:29.401Z] nexus3.edgexfoundry.org:10003 [2022-12-06T17:37:29.401Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-06T17:37:29.401Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-06T17:37:29.401Z] Configure a credential helper to remove this warning. See [2022-12-06T17:37:29.401Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-06T17:37:29.401Z] [2022-12-06T17:37:29.401Z] Login Succeeded [2022-12-06T17:37:29.401Z] nexus3.edgexfoundry.org:10004 [2022-12-06T17:37:29.662Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-06T17:37:29.662Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-06T17:37:29.662Z] Configure a credential helper to remove this warning. See [2022-12-06T17:37:29.662Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-06T17:37:29.662Z] [2022-12-06T17:37:29.662Z] Login Succeeded [2022-12-06T17:37:29.662Z] docker.io [2022-12-06T17:37:29.662Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-06T17:37:29.922Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-06T17:37:29.922Z] Configure a credential helper to remove this warning. See [2022-12-06T17:37:29.922Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-06T17:37:29.922Z] [2022-12-06T17:37:29.922Z] Login Succeeded [2022-12-06T17:37:29.922Z] ---> docker-login.sh ends [Pipeline] } [2022-12-06T17:37:29.949Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-12-06T17:37:30.585Z] + git rev-list -1 --merges 1d63d692516cbd49c17cc604c425aa28ded834f5~1..1d63d692516cbd49c17cc604c425aa28ded834f5 [Pipeline] echo [2022-12-06T17:37:30.633Z] -----------> git rev-list -1 --merges 1d63d692516cbd49c17cc604c425aa28ded834f5~1..1d63d692516cbd49c17cc604c425aa28ded834f5 1d63d692516cbd49c17cc604c425aa28ded834f5 [false] [Pipeline] sh [2022-12-06T17:37:30.941Z] + git log --format=format:%s -1 1d63d692516cbd49c17cc604c425aa28ded834f5 [Pipeline] echo [2022-12-06T17:37:30.978Z] ========================================================= [2022-12-06T17:37:30.978Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-12-06T17:37:30.978Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-12-06T17:37:31.411Z] + git log --format=format:%s -1 1d63d692516cbd49c17cc604c425aa28ded834f5 [Pipeline] echo [2022-12-06T17:37:31.443Z] [semverPrep] GIT_COMMIT: 1d63d692516cbd49c17cc604c425aa28ded834f5, Commit Message: fix: improve error messaging for incorrect protocol properties [Pipeline] echo [2022-12-06T17:37:31.473Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-12-06T17:37:31.867Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-12-06T17:37:31.867Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-12-06T17:37:31.867Z] + [ -e /tmp/ssh_known_hosts ] [2022-12-06T17:37:31.867Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-12-06T17:37:31.867Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-12-06T17:37:31.867Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-12-06T17:37:31.867Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-06T17:37:32.364Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-12-06T17:37:32.364Z] [2022-12-06T17:37:32.364Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-06T17:37:32.742Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-12-06T17:37:32.742Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-12-06T17:37:32.742Z] b85a868b505f: Pulling fs layer [2022-12-06T17:37:32.742Z] e2be974225ed: Pulling fs layer [2022-12-06T17:37:32.742Z] 339a4e72a1f5: Pulling fs layer [2022-12-06T17:37:32.742Z] 988bab9f4d93: Pulling fs layer [2022-12-06T17:37:32.742Z] 1469e6f7b9e6: Pulling fs layer [2022-12-06T17:37:32.742Z] eaf3925da568: Pulling fs layer [2022-12-06T17:37:32.742Z] bab4dde63d76: Pulling fs layer [2022-12-06T17:37:32.742Z] bde34c3a00c8: Pulling fs layer [2022-12-06T17:37:32.742Z] b352a97aabf1: Pulling fs layer [2022-12-06T17:37:32.742Z] 4872d77fe225: Pulling fs layer [2022-12-06T17:37:32.742Z] 5851b861e8e6: Pulling fs layer [2022-12-06T17:37:32.742Z] 4872d77fe225: Waiting [2022-12-06T17:37:32.742Z] bab4dde63d76: Waiting [2022-12-06T17:37:32.742Z] bde34c3a00c8: Waiting [2022-12-06T17:37:32.742Z] b352a97aabf1: Waiting [2022-12-06T17:37:32.742Z] 5851b861e8e6: Waiting [2022-12-06T17:37:32.742Z] 1469e6f7b9e6: Waiting [2022-12-06T17:37:32.742Z] eaf3925da568: Waiting [2022-12-06T17:37:32.742Z] 988bab9f4d93: Waiting [2022-12-06T17:37:32.742Z] e2be974225ed: Verifying Checksum [2022-12-06T17:37:32.742Z] e2be974225ed: Download complete [2022-12-06T17:37:32.742Z] 988bab9f4d93: Download complete [2022-12-06T17:37:33.007Z] 339a4e72a1f5: Verifying Checksum [2022-12-06T17:37:33.007Z] 339a4e72a1f5: Download complete [2022-12-06T17:37:33.007Z] eaf3925da568: Verifying Checksum [2022-12-06T17:37:33.007Z] eaf3925da568: Download complete [2022-12-06T17:37:33.007Z] 1469e6f7b9e6: Verifying Checksum [2022-12-06T17:37:33.007Z] 1469e6f7b9e6: Download complete [2022-12-06T17:37:33.007Z] bde34c3a00c8: Download complete [2022-12-06T17:37:33.007Z] b352a97aabf1: Download complete [2022-12-06T17:37:33.007Z] 4872d77fe225: Verifying Checksum [2022-12-06T17:37:33.007Z] 4872d77fe225: Download complete [2022-12-06T17:37:33.007Z] 5851b861e8e6: Verifying Checksum [2022-12-06T17:37:33.007Z] 5851b861e8e6: Download complete [2022-12-06T17:37:33.007Z] b85a868b505f: Verifying Checksum [2022-12-06T17:37:33.007Z] b85a868b505f: Download complete [2022-12-06T17:37:33.266Z] bab4dde63d76: Verifying Checksum [2022-12-06T17:37:33.266Z] bab4dde63d76: Download complete [2022-12-06T17:37:34.202Z] b85a868b505f: Pull complete [2022-12-06T17:37:34.462Z] e2be974225ed: Pull complete [2022-12-06T17:37:35.031Z] 339a4e72a1f5: Pull complete [2022-12-06T17:37:35.031Z] 988bab9f4d93: Pull complete [2022-12-06T17:37:35.291Z] 1469e6f7b9e6: Pull complete [2022-12-06T17:37:35.291Z] eaf3925da568: Pull complete [2022-12-06T17:37:37.197Z] bab4dde63d76: Pull complete [2022-12-06T17:37:37.197Z] bde34c3a00c8: Pull complete [2022-12-06T17:37:37.458Z] b352a97aabf1: Pull complete [2022-12-06T17:37:37.458Z] 4872d77fe225: Pull complete [2022-12-06T17:37:37.717Z] 5851b861e8e6: Pull complete [2022-12-06T17:37:37.717Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-12-06T17:37:37.717Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-12-06T17:37:37.717Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-06T17:37:37.966Z] prd-ubuntu20.04-docker-8c-8g-120656 does not seem to be running inside a container [2022-12-06T17:37:38.002Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-117 -v /w/workspace/foundry_device-usb-camera_PR-117:/w/workspace/foundry_device-usb-camera_PR-117:rw,z -v /w/workspace/foundry_device-usb-camera_PR-117@tmp:/w/workspace/foundry_device-usb-camera_PR-117@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-12-06T17:37:40.474Z] $ docker top 340f26ffda48539cdc6985dce541867ce442d67f4b66fc399ff01be977034367 -eo pid,comm [2022-12-06T17:37:40.527Z] 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-12-06T17:37:40.527Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-12-06T17:37:40.659Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-12-06T17:37:40.659Z] [ssh-agent] Looking for ssh-agent implementation... [2022-12-06T17:37:40.784Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-12-06T17:37:40.792Z] $ docker exec 340f26ffda48539cdc6985dce541867ce442d67f4b66fc399ff01be977034367 ssh-agent [2022-12-06T17:37:40.895Z] SSH_AUTH_SOCK=/tmp/ssh-FjO3cueb4mTg/agent.31 [2022-12-06T17:37:40.895Z] SSH_AGENT_PID=37 [2022-12-06T17:37:40.902Z] Running ssh-add (command line suppressed) [2022-12-06T17:37:41.007Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-117@tmp/private_key_13945728540967342422.key (/w/workspace/foundry_device-usb-camera_PR-117@tmp/private_key_13945728540967342422.key) [2022-12-06T17:37:41.017Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-12-06T17:37:41.348Z] + git tag --points-at HEAD [Pipeline] } [2022-12-06T17:37:41.377Z] $ docker exec --env ******** --env ******** 340f26ffda48539cdc6985dce541867ce442d67f4b66fc399ff01be977034367 ssh-agent -k [2022-12-06T17:37:41.478Z] unset SSH_AUTH_SOCK; [2022-12-06T17:37:41.479Z] unset SSH_AGENT_PID; [2022-12-06T17:37:41.479Z] echo Agent pid 37 killed; [2022-12-06T17:37:41.487Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-12-06T17:37:41.583Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-12-06T17:37:41.583Z] [ssh-agent] Looking for ssh-agent implementation... [2022-12-06T17:37:41.699Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-12-06T17:37:41.705Z] $ docker exec 340f26ffda48539cdc6985dce541867ce442d67f4b66fc399ff01be977034367 ssh-agent [2022-12-06T17:37:41.822Z] SSH_AUTH_SOCK=/tmp/ssh-PJS9bI28v9DZ/agent.69 [2022-12-06T17:37:41.822Z] SSH_AGENT_PID=76 [2022-12-06T17:37:41.827Z] Running ssh-add (command line suppressed) [2022-12-06T17:37:41.938Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-117@tmp/private_key_5448574730651122695.key (/w/workspace/foundry_device-usb-camera_PR-117@tmp/private_key_5448574730651122695.key) [2022-12-06T17:37:41.950Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-12-06T17:37:42.298Z] + git semver init [2022-12-06T17:37:42.563Z] 2022-12-06 17:37:42,487 [run_init] DEBUG init version:0.0.0 force:False [2022-12-06T17:37:42.563Z] 2022-12-06 17:37:42,487 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-117/.semver [2022-12-06T17:37:42.563Z] 2022-12-06 17:37:42,488 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-117/.semver [2022-12-06T17:37:42.563Z] 2022-12-06 17:37:42,488 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-117/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-117, universal_newlines=False, shell=None, istream=None) [2022-12-06T17:37:43.505Z] 2022-12-06 17:37:43,228 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-117/.git/info/exclude [2022-12-06T17:37:43.505Z] 2022-12-06 17:37:43,229 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-117/.semver/PR-117 with force:False [2022-12-06T17:37:43.505Z] 2022-12-06 17:37:43,229 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-117/.semver/PR-117 [2022-12-06T17:37:43.505Z] 2022-12-06 17:37:43,234 [execute] INFO git cat-file --batch-check [2022-12-06T17:37:43.505Z] 2022-12-06 17:37:43,235 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-117/.semver, universal_newlines=False, shell=None, istream=) [2022-12-06T17:37:43.505Z] 2022-12-06 17:37:43,240 [execute] INFO git cat-file --batch [2022-12-06T17:37:43.505Z] 2022-12-06 17:37:43,240 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-117/.semver, universal_newlines=False, shell=None, istream=) [2022-12-06T17:37:43.505Z] 2022-12-06 17:37:43,245 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-117/.semver/PR-117 [2022-12-06T17:37:43.505Z] 0.0.0 [Pipeline] } [2022-12-06T17:37:43.536Z] $ docker exec --env ******** --env ******** 340f26ffda48539cdc6985dce541867ce442d67f4b66fc399ff01be977034367 ssh-agent -k [2022-12-06T17:37:43.639Z] unset SSH_AUTH_SOCK; [2022-12-06T17:37:43.640Z] unset SSH_AGENT_PID; [2022-12-06T17:37:43.640Z] echo Agent pid 76 killed; [2022-12-06T17:37:43.646Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-12-06T17:37:44.080Z] + git semver [Pipeline] } [2022-12-06T17:37:44.366Z] $ docker stop --time=1 340f26ffda48539cdc6985dce541867ce442d67f4b66fc399ff01be977034367 [2022-12-06T17:37:45.664Z] $ docker rm -f 340f26ffda48539cdc6985dce541867ce442d67f4b66fc399ff01be977034367 [Pipeline] // withDockerContainer [Pipeline] sh [2022-12-06T17:37:46.044Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-12-06T17:37:46.290Z] Stashed 1 file(s) [Pipeline] echo [2022-12-06T17:37:46.305Z] [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-12-06T17:37:46.889Z] provisioning config files... [2022-12-06T17:37:46.898Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-117@tmp/config13388398963887204453tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-06T17:37:47.247Z] ---> docker-login.sh [2022-12-06T17:37:47.247Z] nexus3.edgexfoundry.org:10001 [2022-12-06T17:37:47.247Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-06T17:37:47.247Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-06T17:37:47.247Z] Configure a credential helper to remove this warning. See [2022-12-06T17:37:47.247Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-06T17:37:47.247Z] [2022-12-06T17:37:47.247Z] Login Succeeded [2022-12-06T17:37:47.247Z] nexus3.edgexfoundry.org:10002 [2022-12-06T17:37:47.247Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-06T17:37:47.247Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-06T17:37:47.247Z] Configure a credential helper to remove this warning. See [2022-12-06T17:37:47.247Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-06T17:37:47.247Z] [2022-12-06T17:37:47.247Z] Login Succeeded [2022-12-06T17:37:47.247Z] nexus3.edgexfoundry.org:10003 [2022-12-06T17:37:47.506Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-06T17:37:47.507Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-06T17:37:47.507Z] Configure a credential helper to remove this warning. See [2022-12-06T17:37:47.507Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-06T17:37:47.507Z] [2022-12-06T17:37:47.507Z] Login Succeeded [2022-12-06T17:37:47.507Z] nexus3.edgexfoundry.org:10004 [2022-12-06T17:37:47.507Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-06T17:37:47.507Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-06T17:37:47.507Z] Configure a credential helper to remove this warning. See [2022-12-06T17:37:47.507Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-06T17:37:47.507Z] [2022-12-06T17:37:47.507Z] Login Succeeded [2022-12-06T17:37:47.507Z] docker.io [2022-12-06T17:37:47.765Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-06T17:37:47.765Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-06T17:37:47.765Z] Configure a credential helper to remove this warning. See [2022-12-06T17:37:47.765Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-06T17:37:47.765Z] [2022-12-06T17:37:47.765Z] Login Succeeded [2022-12-06T17:37:47.765Z] ---> docker-login.sh ends [Pipeline] } [2022-12-06T17:37:47.796Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-12-06T17:37:47.997Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-12-06T17:37:48.034Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-12-06T17:37:48.065Z] ========================================================= [2022-12-06T17:37:48.065Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-12-06T17:37:48.065Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-06T17:37:48.524Z] + 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-12-06T17:37:48.524Z] Sending build context to Docker daemon 1.59MB [2022-12-06T17:37:48.524Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-12-06T17:37:48.524Z] Step 2/13 : FROM ${BASE} AS builder [2022-12-06T17:37:48.524Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-12-06T17:37:48.524Z] 213ec9aee27d: Pulling fs layer [2022-12-06T17:37:48.524Z] 4583459ba037: Pulling fs layer [2022-12-06T17:37:48.524Z] 93c1e223e6f2: Pulling fs layer [2022-12-06T17:37:48.524Z] 53926ce57604: Pulling fs layer [2022-12-06T17:37:48.524Z] 21b2b0c7a3f4: Pulling fs layer [2022-12-06T17:37:48.524Z] 22ff95d597cd: Pulling fs layer [2022-12-06T17:37:48.524Z] 12d6caf4c0d1: Pulling fs layer [2022-12-06T17:37:48.524Z] 96b7cbca73a9: Pulling fs layer [2022-12-06T17:37:48.524Z] a7acece74701: Pulling fs layer [2022-12-06T17:37:48.524Z] 22ff95d597cd: Waiting [2022-12-06T17:37:48.524Z] 12d6caf4c0d1: Waiting [2022-12-06T17:37:48.524Z] 96b7cbca73a9: Waiting [2022-12-06T17:37:48.524Z] a7acece74701: Waiting [2022-12-06T17:37:48.524Z] 53926ce57604: Waiting [2022-12-06T17:37:48.524Z] 21b2b0c7a3f4: Waiting [2022-12-06T17:37:48.524Z] 93c1e223e6f2: Download complete [2022-12-06T17:37:48.524Z] 4583459ba037: Verifying Checksum [2022-12-06T17:37:48.524Z] 4583459ba037: Download complete [2022-12-06T17:37:48.524Z] 21b2b0c7a3f4: Verifying Checksum [2022-12-06T17:37:48.524Z] 21b2b0c7a3f4: Download complete [2022-12-06T17:37:48.524Z] 22ff95d597cd: Download complete [2022-12-06T17:37:48.524Z] 213ec9aee27d: Verifying Checksum [2022-12-06T17:37:48.524Z] 213ec9aee27d: Download complete [2022-12-06T17:37:48.788Z] 12d6caf4c0d1: Verifying Checksum [2022-12-06T17:37:48.788Z] 12d6caf4c0d1: Download complete [2022-12-06T17:37:48.788Z] 213ec9aee27d: Pull complete [2022-12-06T17:37:49.048Z] 4583459ba037: Pull complete [2022-12-06T17:37:49.048Z] 93c1e223e6f2: Pull complete [2022-12-06T17:37:49.048Z] a7acece74701: Verifying Checksum [2022-12-06T17:37:49.048Z] a7acece74701: Download complete [2022-12-06T17:37:49.307Z] 96b7cbca73a9: Verifying Checksum [2022-12-06T17:37:49.307Z] 96b7cbca73a9: Download complete [2022-12-06T17:37:49.307Z] 53926ce57604: Verifying Checksum [2022-12-06T17:37:49.307Z] 53926ce57604: Download complete [2022-12-06T17:37:53.503Z] 53926ce57604: Pull complete [2022-12-06T17:37:53.503Z] 21b2b0c7a3f4: Pull complete [2022-12-06T17:37:53.503Z] 22ff95d597cd: Pull complete [2022-12-06T17:37:53.503Z] 12d6caf4c0d1: Pull complete [2022-12-06T17:37:55.405Z] 96b7cbca73a9: Pull complete [2022-12-06T17:37:56.341Z] a7acece74701: Pull complete [2022-12-06T17:37:56.341Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2022-12-06T17:37:56.341Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-12-06T17:37:56.341Z] ---> db6d94c90886 [2022-12-06T17:37:56.341Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-12-06T17:38:00.850Z] ---> Running in 7a379a9ece99 [2022-12-06T17:38:00.850Z] Removing intermediate container 7a379a9ece99 [2022-12-06T17:38:00.850Z] ---> d2a354122634 [2022-12-06T17:38:00.850Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-12-06T17:38:00.850Z] ---> Running in ab061165ad7c [2022-12-06T17:38:00.850Z] Removing intermediate container ab061165ad7c [2022-12-06T17:38:00.850Z] ---> 5850eab2c426 [2022-12-06T17:38:00.850Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" [2022-12-06T17:38:00.850Z] ---> Running in cc40f7549a42 [2022-12-06T17:38:00.850Z] Removing intermediate container cc40f7549a42 [2022-12-06T17:38:00.850Z] ---> dd3fa553a88c [2022-12-06T17:38:00.850Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-12-06T17:38:00.850Z] ---> Running in 1786d1a025b4 [2022-12-06T17:38:00.850Z] Removing intermediate container 1786d1a025b4 [2022-12-06T17:38:00.850Z] ---> 8a160cd93414 [2022-12-06T17:38:00.850Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-12-06T17:38:00.850Z] ---> Running in 2ff5958205df [2022-12-06T17:38:01.110Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-12-06T17:38:01.110Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-12-06T17:38:01.368Z] (1/80) Installing mesa (21.3.8-r2) [2022-12-06T17:38:01.368Z] (2/80) Installing libxau (1.0.9-r0) [2022-12-06T17:38:01.628Z] (3/80) Installing libxdmcp (1.1.3-r0) [2022-12-06T17:38:01.628Z] (4/80) Installing libxcb (1.15-r0) [2022-12-06T17:38:01.628Z] (5/80) Installing libx11 (1.8-r0) [2022-12-06T17:38:01.628Z] (6/80) Installing libxext (1.3.4-r0) [2022-12-06T17:38:01.628Z] (7/80) Installing libxfixes (6.0.0-r0) [2022-12-06T17:38:01.628Z] (8/80) Installing libxxf86vm (1.1.4-r2) [2022-12-06T17:38:01.628Z] (9/80) Installing libpciaccess (0.16-r0) [2022-12-06T17:38:01.628Z] (10/80) Installing libdrm (2.4.110-r0) [2022-12-06T17:38:01.628Z] (11/80) Installing mesa-glapi (21.3.8-r2) [2022-12-06T17:38:01.628Z] (12/80) Installing libxshmfence (1.3-r1) [2022-12-06T17:38:01.628Z] (13/80) Installing mesa-gl (21.3.8-r2) [2022-12-06T17:38:01.628Z] (14/80) Installing icu-data-full (71.1-r2) [2022-12-06T17:38:01.710Z] Still waiting to schedule task [2022-12-06T17:38:01.710Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-12-06T17:38:01.889Z] (15/80) Installing libice (1.0.10-r0) [2022-12-06T17:38:01.889Z] (16/80) Installing libuuid (2.38-r1) [2022-12-06T17:38:01.889Z] (17/80) Installing libsm (1.2.3-r0) [2022-12-06T17:38:01.889Z] (18/80) Installing libxt (1.2.1-r0) [2022-12-06T17:38:01.889Z] (19/80) Installing libxmu (1.1.3-r0) [2022-12-06T17:38:01.889Z] (20/80) Installing xset (1.2.4-r0) [2022-12-06T17:38:01.889Z] (21/80) Installing xprop (1.2.5-r0) [2022-12-06T17:38:01.889Z] (22/80) Installing xdg-utils (1.1.3-r3) [2022-12-06T17:38:01.889Z] (23/80) Installing dbus-libs (1.14.4-r0) [2022-12-06T17:38:01.889Z] (24/80) Installing libffi (3.4.2-r1) [2022-12-06T17:38:01.889Z] (25/80) Installing libintl (0.21-r2) [2022-12-06T17:38:01.889Z] (26/80) Installing libblkid (2.38-r1) [2022-12-06T17:38:01.889Z] (27/80) Installing libmount (2.38-r1) [2022-12-06T17:38:01.889Z] (28/80) Installing pcre (8.45-r2) [2022-12-06T17:38:01.889Z] (29/80) Installing glib (2.72.1-r0) [2022-12-06T17:38:01.889Z] (30/80) Installing icu-libs (71.1-r2) [2022-12-06T17:38:01.889Z] (31/80) Installing libpcre2-16 (10.40-r0) [2022-12-06T17:38:02.151Z] (32/80) Installing zstd-libs (1.5.2-r1) [2022-12-06T17:38:02.151Z] (33/80) Installing qt5-qtbase (5.15.4_git20220511-r2) [2022-12-06T17:38:02.151Z] (34/80) Installing hicolor-icon-theme (0.17-r1) [2022-12-06T17:38:02.151Z] (35/80) Installing wayland-libs-server (1.20.0-r0) [2022-12-06T17:38:02.151Z] (36/80) Installing mesa-gbm (21.3.8-r2) [2022-12-06T17:38:02.151Z] (37/80) Installing wayland-libs-client (1.20.0-r0) [2022-12-06T17:38:02.151Z] (38/80) Installing qt5-qtdeclarative (5.15.4_git20220514-r1) [2022-12-06T17:38:02.151Z] (39/80) Installing libxcomposite (0.4.5-r0) [2022-12-06T17:38:02.151Z] (40/80) Installing libbz2 (1.0.8-r1) [2022-12-06T17:38:02.151Z] (41/80) Installing libpng (1.6.37-r1) [2022-12-06T17:38:02.151Z] (42/80) Installing freetype (2.12.1-r0) [2022-12-06T17:38:02.151Z] (43/80) Installing fontconfig (2.14.0-r0) [2022-12-06T17:38:02.411Z] (44/80) Installing wayland-libs-cursor (1.20.0-r0) [2022-12-06T17:38:02.411Z] (45/80) Installing wayland-libs-egl (1.20.0-r0) [2022-12-06T17:38:02.411Z] (46/80) Installing xkeyboard-config (2.35.1-r0) [2022-12-06T17:38:02.411Z] (47/80) Installing xz-libs (5.2.5-r1) [2022-12-06T17:38:02.411Z] (48/80) Installing libxml2 (2.9.14-r2) [2022-12-06T17:38:02.411Z] (49/80) Installing libxkbcommon (1.4.1-r0) [2022-12-06T17:38:02.411Z] (50/80) Installing qt5-qtwayland (5.15.4_git20220511-r0) [2022-12-06T17:38:02.411Z] (51/80) Installing mesa-egl (21.3.8-r2) [2022-12-06T17:38:02.411Z] (52/80) Installing avahi-libs (0.8-r6) [2022-12-06T17:38:02.411Z] (53/80) Installing nettle (3.7.3-r0) [2022-12-06T17:38:02.411Z] (54/80) Installing p11-kit (0.24.1-r0) [2022-12-06T17:38:02.411Z] (55/80) Installing libtasn1 (4.18.0-r0) [2022-12-06T17:38:02.411Z] (56/80) Installing libunistring (1.0-r0) [2022-12-06T17:38:02.411Z] (57/80) Installing gnutls (3.7.7-r0) [2022-12-06T17:38:02.411Z] (58/80) Installing cups-libs (2.4.2-r0) [2022-12-06T17:38:02.411Z] (59/80) Installing graphite2 (1.3.14-r1) [2022-12-06T17:38:02.411Z] (60/80) Installing harfbuzz (4.3.0-r0) [2022-12-06T17:38:02.411Z] (61/80) Installing libevdev (1.12.1-r0) [2022-12-06T17:38:02.670Z] (62/80) Installing mtdev (1.1.6-r0) [2022-12-06T17:38:02.670Z] (63/80) Installing eudev-libs (3.2.11-r0) [2022-12-06T17:38:02.670Z] (64/80) Installing libinput-libs (1.20.1-r0) [2022-12-06T17:38:02.670Z] (65/80) Installing libjpeg-turbo (2.1.3-r1) [2022-12-06T17:38:02.670Z] (66/80) Installing xcb-util-wm (0.4.1-r1) [2022-12-06T17:38:02.670Z] (67/80) Installing xcb-util (0.4.0-r3) [2022-12-06T17:38:02.670Z] (68/80) Installing xcb-util-image (0.4.0-r1) [2022-12-06T17:38:02.670Z] (69/80) Installing xcb-util-keysyms (0.4.0-r1) [2022-12-06T17:38:02.670Z] (70/80) Installing xcb-util-renderutil (0.3.9-r1) [2022-12-06T17:38:02.670Z] (71/80) Installing libxkbcommon-x11 (1.4.1-r0) [2022-12-06T17:38:02.670Z] (72/80) Installing qt5-qtbase-x11 (5.15.4_git20220511-r2) [2022-12-06T17:38:02.670Z] (73/80) Installing v4l-utils-libs (1.22.1-r1) [2022-12-06T17:38:02.670Z] (74/80) Installing v4l-utils (1.22.1-r1) [2022-12-06T17:38:02.929Z] (75/80) Installing udev-init-scripts (35-r0) [2022-12-06T17:38:02.929Z] Executing udev-init-scripts-35-r0.post-install [2022-12-06T17:38:02.929Z] (76/80) Installing kmod-libs (29-r2) [2022-12-06T17:38:02.929Z] (77/80) Installing eudev (3.2.11-r0) [2022-12-06T17:38:02.929Z] (78/80) Installing eudev-dev (3.2.11-r0) [2022-12-06T17:38:02.929Z] (79/80) Installing v4l-utils-dvbv5 (1.22.1-r1) [2022-12-06T17:38:02.929Z] (80/80) Installing v4l-utils-dev (1.22.1-r1) [2022-12-06T17:38:02.929Z] Executing busybox-1.35.0-r17.trigger [2022-12-06T17:38:02.929Z] Executing eudev-3.2.11-r0.trigger [2022-12-06T17:38:02.929Z] OK: 330 MiB in 131 packages [2022-12-06T17:38:06.327Z] Removing intermediate container 2ff5958205df [2022-12-06T17:38:06.327Z] ---> 408227ca4dcb [2022-12-06T17:38:06.327Z] Step 8/13 : WORKDIR /device-usb-camera [2022-12-06T17:38:06.327Z] ---> Running in 3607604e76a1 [2022-12-06T17:38:06.327Z] Removing intermediate container 3607604e76a1 [2022-12-06T17:38:06.327Z] ---> a7fa4c26923d [2022-12-06T17:38:06.327Z] Step 9/13 : COPY go.mod vendor* ./ [2022-12-06T17:38:06.327Z] ---> 0b283224d086 [2022-12-06T17:38:06.327Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-12-06T17:38:06.327Z] ---> Running in 3be6a2e55c8e [2022-12-06T17:38:28.375Z] Removing intermediate container 3be6a2e55c8e [2022-12-06T17:38:28.375Z] ---> b22dda61605b [2022-12-06T17:38:28.375Z] Step 11/13 : COPY . . [2022-12-06T17:38:28.634Z] ---> 1ac8c5864862 [2022-12-06T17:38:28.634Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2022-12-06T17:38:28.634Z] ---> Running in 7930110b376c [2022-12-06T17:38:28.892Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2022-12-06T17:38:28.892Z] Dload Upload Total Spent Left Speed [2022-12-06T17:38:28.892Z]  0  0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 10317 0 --:--:-- --:--:-- --:--:-- 10411 [2022-12-06T17:38:29.151Z] Removing intermediate container 7930110b376c [2022-12-06T17:38:29.151Z] ---> 11763174d793 [2022-12-06T17:38:29.151Z] Step 13/13 : RUN ${MAKE} [2022-12-06T17:38:29.410Z] ---> Running in 7e59e8990d88 [2022-12-06T17:38:29.410Z] noop [2022-12-06T17:38:29.977Z] Removing intermediate container 7e59e8990d88 [2022-12-06T17:38:29.977Z] ---> e1c0f4e37ebd [2022-12-06T17:38:29.977Z] Successfully built e1c0f4e37ebd [2022-12-06T17:38:29.977Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-06T17:38:30.432Z] + docker inspect -f . ci-base-image-x86_64 [2022-12-06T17:38:30.432Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-06T17:38:30.580Z] prd-ubuntu20.04-docker-8c-8g-120656 does not seem to be running inside a container [2022-12-06T17:38:30.616Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-117 -v /w/workspace/foundry_device-usb-camera_PR-117:/w/workspace/foundry_device-usb-camera_PR-117:rw,z -v /w/workspace/foundry_device-usb-camera_PR-117@tmp:/w/workspace/foundry_device-usb-camera_PR-117@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 ******** ci-base-image-x86_64 cat [2022-12-06T17:38:30.960Z] $ docker top 6ac94255be64f1abce829cf1155b377dbf271752e5ffc42fa782f096f6d0e0b7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-06T17:38:31.348Z] + go version [2022-12-06T17:38:31.348Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-12-06T17:38:31.387Z] $ docker stop --time=1 6ac94255be64f1abce829cf1155b377dbf271752e5ffc42fa782f096f6d0e0b7 [2022-12-06T17:38:32.657Z] $ docker rm -f 6ac94255be64f1abce829cf1155b377dbf271752e5ffc42fa782f096f6d0e0b7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-06T17:38:33.389Z] + docker inspect -f . ci-base-image-x86_64 [2022-12-06T17:38:33.389Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-06T17:38:33.530Z] prd-ubuntu20.04-docker-8c-8g-120656 does not seem to be running inside a container [2022-12-06T17:38:33.565Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-usb-camera_PR-117 -v /w/workspace/foundry_device-usb-camera_PR-117:/w/workspace/foundry_device-usb-camera_PR-117:rw,z -v /w/workspace/foundry_device-usb-camera_PR-117@tmp:/w/workspace/foundry_device-usb-camera_PR-117@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 ******** ci-base-image-x86_64 cat [2022-12-06T17:38:33.936Z] $ docker top 1818182eab4523a01b55c95519c961a13026498c2671ec88afe8efb72f371cfb -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-06T17:38:34.322Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-117 [Pipeline] fileExists [Pipeline] sh [2022-12-06T17:38:34.675Z] + make test [2022-12-06T17:38:34.675Z] CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... [2022-12-06T17:38:34.933Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2022-12-06T17:38:47.133Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2022-12-06T17:38:47.133Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.017s coverage: 1.9% of statements [2022-12-06T17:38:53.692Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-12-06T17:38:53.693Z] CGO_ENABLED=1 go vet ./... [2022-12-06T17:38:56.972Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-12-06T17:38:56.972Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-12-06T17:38:56.972Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-12-06T17:38:57.014Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-12-06T17:38:57.051Z] $ docker stop --time=1 1818182eab4523a01b55c95519c961a13026498c2671ec88afe8efb72f371cfb [2022-12-06T17:38:59.345Z] $ docker rm -f 1818182eab4523a01b55c95519c961a13026498c2671ec88afe8efb72f371cfb [Pipeline] // withDockerContainer [Pipeline] sh [2022-12-06T17:38:59.859Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-12-06T17:38:59.931Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-12-06T17:39:00.587Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-12-06T17:39:00.895Z] + ls -al . [2022-12-06T17:39:00.895Z] total 200 [2022-12-06T17:39:00.895Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 6 17:38 . [2022-12-06T17:39:00.895Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 6 17:37 .. [2022-12-06T17:39:00.895Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 6 17:38 .git [2022-12-06T17:39:00.895Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 17:37 .github [2022-12-06T17:39:00.895Z] -rw-rw-r-- 1 jenkins jenkins 414 Dec 6 17:37 .gitignore [2022-12-06T17:39:00.895Z] -rw-rw-r-- 1 jenkins jenkins 42 Dec 6 17:37 .golangci.yml [2022-12-06T17:39:00.895Z] -rw-rw-r-- 1 jenkins jenkins 77 Dec 6 17:37 .hadolint.yml [2022-12-06T17:39:00.895Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 6 17:37 .semver [2022-12-06T17:39:00.895Z] -rw-rw-r-- 1 jenkins jenkins 9702 Dec 6 17:37 Attribution.txt [2022-12-06T17:39:00.895Z] -rw-rw-r-- 1 jenkins jenkins 1206 Dec 6 17:37 CHANGELOG.md [2022-12-06T17:39:00.895Z] -rw-rw-r-- 1 jenkins jenkins 2378 Dec 6 17:37 Dockerfile [2022-12-06T17:39:00.895Z] -rw-rw-r-- 1 jenkins jenkins 678 Dec 6 17:37 GOVERNANCE.md [2022-12-06T17:39:00.895Z] -rw-rw-r-- 1 jenkins jenkins 659 Dec 6 17:37 Jenkinsfile [2022-12-06T17:39:00.895Z] -rw-rw-r-- 1 jenkins jenkins 11348 Dec 6 17:37 LICENSE [2022-12-06T17:39:00.895Z] -rw-rw-r-- 1 jenkins jenkins 2554 Dec 6 17:37 Makefile [2022-12-06T17:39:00.895Z] -rw-rw-r-- 1 jenkins jenkins 622 Dec 6 17:37 OWNERS.md [2022-12-06T17:39:00.895Z] -rw-rw-r-- 1 jenkins jenkins 5773 Dec 6 17:37 README.md [2022-12-06T17:39:00.895Z] -rw-rw-r-- 1 jenkins jenkins 5 Dec 6 17:37 VERSION [2022-12-06T17:39:00.895Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 6 17:37 bin [2022-12-06T17:39:00.895Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 17:37 cmd [2022-12-06T17:39:00.895Z] -rw-r--r-- 1 jenkins jenkins 30410 Dec 6 17:38 coverage.out [2022-12-06T17:39:00.895Z] -rwxrwxr-x 1 jenkins jenkins 140 Dec 6 17:37 docker-entrypoint.sh [2022-12-06T17:39:00.895Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 17:37 docs [2022-12-06T17:39:00.895Z] -rw-rw-r-- 1 jenkins jenkins 3573 Dec 6 17:37 go.mod [2022-12-06T17:39:00.895Z] -rw-rw-r-- 1 jenkins jenkins 45026 Dec 6 17:37 go.sum [2022-12-06T17:39:00.895Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 17:37 internal [2022-12-06T17:39:00.895Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 6 17:37 snap [2022-12-06T17:39:00.895Z] -rw-rw-r-- 1 jenkins jenkins 231 Dec 6 17:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-06T17:39:01.287Z] + 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=1d63d692516cbd49c17cc604c425aa28ded834f5 --label arch=amd64 --label version=0.0.0 . [2022-12-06T17:39:01.287Z] Sending build context to Docker daemon 1.621MB [2022-12-06T17:39:01.287Z] Step 1/35 : ARG BASE=golang:1.18-alpine3.16 [2022-12-06T17:39:01.287Z] Step 2/35 : FROM ${BASE} AS builder [2022-12-06T17:39:01.287Z] ---> e1c0f4e37ebd [2022-12-06T17:39:01.287Z] Step 3/35 : ARG ADD_BUILD_TAGS="" [2022-12-06T17:39:01.545Z] ---> Running in ab5f087cf116 [2022-12-06T17:39:01.545Z] Removing intermediate container ab5f087cf116 [2022-12-06T17:39:01.545Z] ---> 8e3193163b90 [2022-12-06T17:39:01.545Z] Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-12-06T17:39:01.545Z] ---> Running in 7088ec89b863 [2022-12-06T17:39:01.545Z] Removing intermediate container 7088ec89b863 [2022-12-06T17:39:01.545Z] ---> 251580c287d7 [2022-12-06T17:39:01.545Z] Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" [2022-12-06T17:39:01.545Z] ---> Running in f46ddcd10d0c [2022-12-06T17:39:01.804Z] Removing intermediate container f46ddcd10d0c [2022-12-06T17:39:01.804Z] ---> 68293a97afc1 [2022-12-06T17:39:01.804Z] Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-12-06T17:39:01.804Z] ---> Running in ecf07e5050fa [2022-12-06T17:39:01.804Z] Removing intermediate container ecf07e5050fa [2022-12-06T17:39:01.804Z] ---> cc8c4489ee3c [2022-12-06T17:39:01.804Z] Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-12-06T17:39:01.804Z] ---> Running in c96343b32f5b [2022-12-06T17:39:02.063Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-12-06T17:39:02.323Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-12-06T17:39:02.583Z] OK: 330 MiB in 131 packages [2022-12-06T17:39:02.843Z] Removing intermediate container c96343b32f5b [2022-12-06T17:39:02.843Z] ---> c579e6446650 [2022-12-06T17:39:02.843Z] Step 8/35 : WORKDIR /device-usb-camera [2022-12-06T17:39:02.843Z] ---> Running in 400918adc4e1 [2022-12-06T17:39:02.843Z] Removing intermediate container 400918adc4e1 [2022-12-06T17:39:02.843Z] ---> df5e21bbd1d3 [2022-12-06T17:39:02.843Z] Step 9/35 : COPY go.mod vendor* ./ [2022-12-06T17:39:03.102Z] ---> ad001fd379d5 [2022-12-06T17:39:03.102Z] Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-12-06T17:39:03.102Z] ---> Running in 499da57791da [2022-12-06T17:39:03.672Z] Removing intermediate container 499da57791da [2022-12-06T17:39:03.673Z] ---> 970ebbdb3ab1 [2022-12-06T17:39:03.673Z] Step 11/35 : COPY . . [2022-12-06T17:39:04.264Z] ---> 0f2008013027 [2022-12-06T17:39:04.264Z] Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2022-12-06T17:39:04.264Z] ---> Running in 0698a731729d [2022-12-06T17:39:04.524Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2022-12-06T17:39:04.524Z] Dload Upload Total Spent Left Speed [2022-12-06T17:39:04.524Z]  0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 36807 0 --:--:-- --:--:-- --:--:-- 37928 [2022-12-06T17:39:04.791Z] Removing intermediate container 0698a731729d [2022-12-06T17:39:04.791Z] ---> 8705044cdbec [2022-12-06T17:39:04.791Z] Step 13/35 : RUN ${MAKE} [2022-12-06T17:39:04.791Z] ---> Running in 959e9fa950d9 [2022-12-06T17:39:05.049Z] CGO_ENABLED=1 go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd [2022-12-06T17:39:31.585Z] Removing intermediate container 959e9fa950d9 [2022-12-06T17:39:31.585Z] ---> 82b86817bb74 [2022-12-06T17:39:31.585Z] Step 14/35 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp [2022-12-06T17:39:31.585Z] v0.18.4: Pulling from aler9/rtsp-simple-server [2022-12-06T17:39:31.585Z] af6660deedbd: Pulling fs layer [2022-12-06T17:39:31.585Z] 97cd0a44c592: Pulling fs layer [2022-12-06T17:39:31.585Z] 97cd0a44c592: Verifying Checksum [2022-12-06T17:39:31.585Z] 97cd0a44c592: Download complete [2022-12-06T17:39:31.585Z] af6660deedbd: Verifying Checksum [2022-12-06T17:39:31.585Z] af6660deedbd: Download complete [2022-12-06T17:39:31.585Z] af6660deedbd: Pull complete [2022-12-06T17:39:31.585Z] 97cd0a44c592: Pull complete [2022-12-06T17:39:31.585Z] Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 [2022-12-06T17:39:31.585Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 [2022-12-06T17:39:31.585Z] ---> fea57e182299 [2022-12-06T17:39:31.585Z] Step 15/35 : FROM alpine:3.16 [2022-12-06T17:39:31.585Z] 3.16: Pulling from library/alpine [2022-12-06T17:39:31.585Z] ca7dd9ec2225: Pulling fs layer [2022-12-06T17:39:31.585Z] ca7dd9ec2225: Download complete [2022-12-06T17:39:31.585Z] ca7dd9ec2225: Pull complete [2022-12-06T17:39:31.585Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2022-12-06T17:39:31.585Z] Status: Downloaded newer image for alpine:3.16 [2022-12-06T17:39:31.585Z] ---> bfe296a52501 [2022-12-06T17:39:31.585Z] Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-12-06T17:39:31.585Z] ---> Running in 02daa0af45ef [2022-12-06T17:39:31.585Z] Removing intermediate container 02daa0af45ef [2022-12-06T17:39:31.585Z] ---> 26f9f3e9453f [2022-12-06T17:39:31.585Z] Step 17/35 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev [2022-12-06T17:39:31.585Z] ---> Running in 80631719a28d [2022-12-06T17:39:31.585Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-12-06T17:39:31.585Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-12-06T17:39:31.585Z] (1/83) Installing dumb-init (1.2.5-r1) [2022-12-06T17:39:31.585Z] (2/83) Installing sdl2 (2.0.22-r0) [2022-12-06T17:39:31.585Z] (3/83) Installing libxau (1.0.9-r0) [2022-12-06T17:39:31.585Z] (4/83) Installing libxdmcp (1.1.3-r0) [2022-12-06T17:39:31.585Z] (5/83) Installing libxcb (1.15-r0) [2022-12-06T17:39:31.585Z] (6/83) Installing libx11 (1.8-r0) [2022-12-06T17:39:31.585Z] (7/83) Installing aom-libs (3.3.0-r0) [2022-12-06T17:39:31.585Z] (8/83) Installing alsa-lib (1.2.7.2-r0) [2022-12-06T17:39:31.585Z] (9/83) Installing expat (2.5.0-r0) [2022-12-06T17:39:31.585Z] (10/83) Installing brotli-libs (1.0.9-r6) [2022-12-06T17:39:31.585Z] (11/83) Installing libbz2 (1.0.8-r1) [2022-12-06T17:39:31.585Z] (12/83) Installing libpng (1.6.37-r1) [2022-12-06T17:39:31.586Z] (13/83) Installing freetype (2.12.1-r0) [2022-12-06T17:39:31.586Z] (14/83) Installing fontconfig (2.14.0-r0) [2022-12-06T17:39:31.586Z] (15/83) Installing fribidi (1.0.12-r0) [2022-12-06T17:39:31.586Z] (16/83) Installing libffi (3.4.2-r1) [2022-12-06T17:39:31.586Z] (17/83) Installing libintl (0.21-r2) [2022-12-06T17:39:31.586Z] (18/83) Installing libblkid (2.38-r1) [2022-12-06T17:39:31.586Z] (19/83) Installing libmount (2.38-r1) [2022-12-06T17:39:31.586Z] (20/83) Installing pcre (8.45-r2) [2022-12-06T17:39:31.586Z] (21/83) Installing glib (2.72.1-r0) [2022-12-06T17:39:31.586Z] (22/83) Installing graphite2 (1.3.14-r1) [2022-12-06T17:39:31.586Z] (23/83) Installing harfbuzz (4.3.0-r0) [2022-12-06T17:39:31.586Z] (24/83) Installing libass (0.16.0-r0) [2022-12-06T17:39:31.586Z] (25/83) Installing libdav1d (1.0.0-r0) [2022-12-06T17:39:31.586Z] (26/83) Installing libpciaccess (0.16-r0) [2022-12-06T17:39:31.586Z] (27/83) Installing libdrm (2.4.110-r0) [2022-12-06T17:39:31.586Z] (28/83) Installing gmp (6.2.1-r2) [2022-12-06T17:39:31.586Z] (29/83) Installing nettle (3.7.3-r0) [2022-12-06T17:39:31.586Z] (30/83) Installing p11-kit (0.24.1-r0) [2022-12-06T17:39:31.844Z] (31/83) Installing libtasn1 (4.18.0-r0) [2022-12-06T17:39:31.844Z] (32/83) Installing libunistring (1.0-r0) [2022-12-06T17:39:31.844Z] (33/83) Installing gnutls (3.7.7-r0) [2022-12-06T17:39:31.844Z] (34/83) Installing ncurses-terminfo-base (6.3_p20220521-r0) [2022-12-06T17:39:31.844Z] (35/83) Installing ncurses-libs (6.3_p20220521-r0) [2022-12-06T17:39:31.844Z] (36/83) Installing lame (3.100-r0) [2022-12-06T17:39:31.844Z] (37/83) Installing opus (1.3.1-r1) [2022-12-06T17:39:31.844Z] (38/83) Installing libasyncns (0.8-r1) [2022-12-06T17:39:31.844Z] (39/83) Installing dbus-libs (1.14.4-r0) [2022-12-06T17:39:31.844Z] (40/83) Installing libltdl (2.4.7-r0) [2022-12-06T17:39:31.844Z] (41/83) Installing orc (0.4.32-r0) [2022-12-06T17:39:31.844Z] (42/83) Installing libgcc (11.2.1_git20220219-r2) [2022-12-06T17:39:31.844Z] (43/83) Installing libogg (1.3.5-r1) [2022-12-06T17:39:31.844Z] (44/83) Installing libstdc++ (11.2.1_git20220219-r2) [2022-12-06T17:39:31.844Z] (45/83) Installing flac (1.3.4-r0) [2022-12-06T17:39:31.844Z] (46/83) Installing libvorbis (1.3.7-r0) [2022-12-06T17:39:31.844Z] (47/83) Installing libsndfile (1.1.0-r0) [2022-12-06T17:39:31.844Z] (48/83) Installing libgomp (11.2.1_git20220219-r2) [2022-12-06T17:39:31.844Z] (49/83) Installing soxr (0.1.3-r2) [2022-12-06T17:39:31.844Z] (50/83) Installing speexdsp (1.2.0-r0) [2022-12-06T17:39:31.844Z] (51/83) Installing tdb-libs (1.4.6-r0) [2022-12-06T17:39:31.844Z] (52/83) Installing libpulse (15.0-r2) [2022-12-06T17:39:31.844Z] (53/83) Installing cjson (1.7.15-r3) [2022-12-06T17:39:31.844Z] (54/83) Installing mbedtls (2.28.1-r0) [2022-12-06T17:39:31.844Z] (55/83) Installing librist (0.2.6-r1) [2022-12-06T17:39:31.844Z] (56/83) Installing libsrt (1.4.4-r0) [2022-12-06T17:39:31.844Z] (57/83) Installing libssh (0.9.6-r1) [2022-12-06T17:39:32.102Z] (58/83) Installing libtheora (1.1.1-r16) [2022-12-06T17:39:32.102Z] (59/83) Installing libjpeg-turbo (2.1.3-r1) [2022-12-06T17:39:32.102Z] (60/83) Installing v4l-utils-libs (1.22.1-r1) [2022-12-06T17:39:32.103Z] (61/83) Installing libxext (1.3.4-r0) [2022-12-06T17:39:32.103Z] (62/83) Installing libxfixes (6.0.0-r0) [2022-12-06T17:39:32.103Z] (63/83) Installing wayland-libs-client (1.20.0-r0) [2022-12-06T17:39:32.103Z] (64/83) Installing libva (2.14.0-r0) [2022-12-06T17:39:32.103Z] (65/83) Installing libvdpau (1.5-r0) [2022-12-06T17:39:32.103Z] (66/83) Installing vidstab (1.1.0-r1) [2022-12-06T17:39:32.103Z] (67/83) Installing libvpx (1.11.0-r1) [2022-12-06T17:39:32.103Z] (68/83) Installing libwebp (1.2.3-r0) [2022-12-06T17:39:32.103Z] (69/83) Installing x264-libs (0.163_git20210613-r0) [2022-12-06T17:39:32.103Z] (70/83) Installing numactl (2.0.14-r0) [2022-12-06T17:39:32.103Z] (71/83) Installing x265-libs (3.5-r3) [2022-12-06T17:39:32.360Z] (72/83) Installing xvidcore (1.3.7-r1) [2022-12-06T17:39:32.360Z] (73/83) Installing ffmpeg-libs (5.0.1-r1) [2022-12-06T17:39:32.360Z] (74/83) Installing ffmpeg (5.0.1-r1) [2022-12-06T17:39:32.360Z] (75/83) Installing udev-init-scripts (35-r0) [2022-12-06T17:39:32.360Z] Executing udev-init-scripts-35-r0.post-install [2022-12-06T17:39:32.360Z] (76/83) Installing eudev-libs (3.2.11-r0) [2022-12-06T17:39:32.360Z] (77/83) Installing xz-libs (5.2.5-r1) [2022-12-06T17:39:32.360Z] (78/83) Installing zstd-libs (1.5.2-r1) [2022-12-06T17:39:32.360Z] (79/83) Installing kmod-libs (29-r2) [2022-12-06T17:39:32.617Z] (80/83) Installing eudev (3.2.11-r0) [2022-12-06T17:39:32.617Z] (81/83) Installing libsodium (1.0.18-r0) [2022-12-06T17:39:32.617Z] (82/83) Installing libzmq (4.3.4-r0) [2022-12-06T17:39:32.617Z] (83/83) Installing zeromq (4.3.4-r0) [2022-12-06T17:39:32.617Z] Executing busybox-1.35.0-r17.trigger [2022-12-06T17:39:32.617Z] Executing eudev-3.2.11-r0.trigger [2022-12-06T17:39:32.617Z] OK: 101 MiB in 97 packages [2022-12-06T17:39:33.362Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-120657 in /w/workspace/foundry_device-usb-camera_PR-117 [Pipeline] { [Pipeline] ws [2022-12-06T17:39:33.418Z] Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout [2022-12-06T17:39:33.499Z] Selected Git installation does not exist. Using Default [2022-12-06T17:39:33.499Z] The recommended git tool is: NONE [2022-12-06T17:39:35.292Z] Removing intermediate container 80631719a28d [2022-12-06T17:39:35.292Z] ---> d5e653905ec2 [2022-12-06T17:39:35.292Z] Step 18/35 : WORKDIR / [2022-12-06T17:39:35.292Z] ---> Running in 35184e0f49ee [2022-12-06T17:39:35.292Z] Removing intermediate container 35184e0f49ee [2022-12-06T17:39:35.292Z] ---> 418f65255ad0 [2022-12-06T17:39:35.292Z] Step 19/35 : COPY --from=builder /device-usb-camera/cmd / [2022-12-06T17:39:35.861Z] ---> 92b41f7f9140 [2022-12-06T17:39:35.861Z] Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / [2022-12-06T17:39:35.861Z] ---> b9a3ac55e8e3 [2022-12-06T17:39:35.861Z] Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2022-12-06T17:39:36.119Z] ---> f97175860c8c [2022-12-06T17:39:36.119Z] Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / [2022-12-06T17:39:36.119Z] ---> c1052e0a2576 [2022-12-06T17:39:36.119Z] Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2022-12-06T17:39:36.378Z] ---> 4da1d390b0c2 [2022-12-06T17:39:36.378Z] Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / [2022-12-06T17:39:36.378Z] ---> df7a280a1de9 [2022-12-06T17:39:36.378Z] Step 25/35 : COPY --from=rtsp /rtsp-simple-server / [2022-12-06T17:39:37.321Z] ---> 836c3fa0fd5f [2022-12-06T17:39:37.321Z] Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2022-12-06T17:39:37.321Z] ---> Running in aac0fe108a40 [2022-12-06T17:39:37.579Z] Removing intermediate container aac0fe108a40 [2022-12-06T17:39:37.579Z] ---> d8051e1095fb [2022-12-06T17:39:37.579Z] Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2022-12-06T17:39:37.579Z] ---> Running in e30f1520496f [2022-12-06T17:39:38.147Z] Removing intermediate container e30f1520496f [2022-12-06T17:39:38.147Z] ---> fd010d9d84c7 [2022-12-06T17:39:38.147Z] Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2022-12-06T17:39:38.367Z] using credential edgex-jenkins-ssh [2022-12-06T17:39:38.387Z] Cloning the remote Git repository [2022-12-06T17:39:38.405Z] ---> Running in 29365e35e4cd [2022-12-06T17:39:38.972Z] Removing intermediate container 29365e35e4cd [2022-12-06T17:39:38.972Z] ---> 95233ab1a905 [2022-12-06T17:39:38.972Z] Step 29/35 : EXPOSE 59983 [2022-12-06T17:39:38.972Z] ---> Running in 8c050381c862 [2022-12-06T17:39:38.972Z] Removing intermediate container 8c050381c862 [2022-12-06T17:39:38.972Z] ---> dc800c735fa7 [2022-12-06T17:39:38.972Z] Step 30/35 : EXPOSE 8554 [2022-12-06T17:39:38.972Z] ---> Running in 1cf5e3c5e053 [2022-12-06T17:39:38.972Z] Removing intermediate container 1cf5e3c5e053 [2022-12-06T17:39:38.972Z] ---> 6454f5b3eb64 [2022-12-06T17:39:38.972Z] Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] [2022-12-06T17:39:39.231Z] ---> Running in b3118d10b1a5 [2022-12-06T17:39:39.231Z] Removing intermediate container b3118d10b1a5 [2022-12-06T17:39:39.231Z] ---> 66f97639cfad [2022-12-06T17:39:39.231Z] Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] [2022-12-06T17:39:39.231Z] ---> Running in f6e0cbdd03c2 [2022-12-06T17:39:39.231Z] Removing intermediate container f6e0cbdd03c2 [2022-12-06T17:39:39.231Z] ---> 209894092cfa [2022-12-06T17:39:39.231Z] Step 33/35 : LABEL arch=amd64 [2022-12-06T17:39:39.231Z] ---> Running in c73b6c1fd5a8 [2022-12-06T17:39:39.491Z] Removing intermediate container c73b6c1fd5a8 [2022-12-06T17:39:39.491Z] ---> 4c08e134ca1c [2022-12-06T17:39:39.491Z] Step 34/35 : LABEL git_sha=1d63d692516cbd49c17cc604c425aa28ded834f5 [2022-12-06T17:39:39.491Z] ---> Running in 00804840e35a [2022-12-06T17:39:39.491Z] Removing intermediate container 00804840e35a [2022-12-06T17:39:39.491Z] ---> 812d3dc06ade [2022-12-06T17:39:39.491Z] Step 35/35 : LABEL version=0.0.0 [2022-12-06T17:39:39.491Z] ---> Running in 06e6f2872ebd [2022-12-06T17:39:39.491Z] Removing intermediate container 06e6f2872ebd [2022-12-06T17:39:39.491Z] ---> 14b5df47afab [2022-12-06T17:39:39.491Z] [Warning] One or more build-args [ARCH] were not consumed [2022-12-06T17:39:39.491Z] Successfully built 14b5df47afab [2022-12-06T17:39:39.491Z] Successfully tagged device-usb-camera:latest [2022-12-06T17:39:38.433Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2022-12-06T17:39:38.508Z] > git init /w/workspace/device-usb-camera/1 # timeout=10 [2022-12-06T17:39:38.642Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2022-12-06T17:39:38.643Z] > git --version # timeout=10 [2022-12-06T17:39:38.662Z] > git --version # 'git version 2.25.1' [2022-12-06T17:39:38.664Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-12-06T17:39:38.714Z] Verifying host key using known hosts file [2022-12-06T17:39:38.905Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-12-06T17:39:38.917Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-12-06T17:39:39.587Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [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-12-06T17:39:40.617Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-12-06T17:39:40.617Z] [2022-12-06T17:39:40.617Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-06T17:39:39.605Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-12-06T17:39:40.420Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2022-12-06T17:39:40.462Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2022-12-06T17:39:40.463Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-12-06T17:39:40.467Z] Verifying host key using known hosts file [2022-12-06T17:39:40.473Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-12-06T17:39:40.481Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/117/head:refs/remotes/origin/PR-117 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-12-06T17:39:40.987Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-12-06T17:39:40.987Z] latest: Pulling from edgex-lftools-log-publisher [2022-12-06T17:39:40.987Z] 5eb5b503b376: Pulling fs layer [2022-12-06T17:39:40.987Z] 5c69ac0246d0: Pulling fs layer [2022-12-06T17:39:40.987Z] ec43610c2a17: Pulling fs layer [2022-12-06T17:39:40.987Z] 3a2ae6a8a46f: Pulling fs layer [2022-12-06T17:39:40.987Z] 33b1e0a273af: Pulling fs layer [2022-12-06T17:39:40.987Z] 5d3b04190fa2: Pulling fs layer [2022-12-06T17:39:40.987Z] 2f39f015ded8: Pulling fs layer [2022-12-06T17:39:40.987Z] 33b1e0a273af: Waiting [2022-12-06T17:39:40.987Z] 5d3b04190fa2: Waiting [2022-12-06T17:39:40.987Z] 2f39f015ded8: Waiting [2022-12-06T17:39:40.987Z] 3a2ae6a8a46f: Waiting [2022-12-06T17:39:40.987Z] 5c69ac0246d0: Verifying Checksum [2022-12-06T17:39:40.987Z] 5c69ac0246d0: Download complete [2022-12-06T17:39:40.987Z] 3a2ae6a8a46f: Verifying Checksum [2022-12-06T17:39:40.987Z] 3a2ae6a8a46f: Download complete [2022-12-06T17:39:40.987Z] 33b1e0a273af: Verifying Checksum [2022-12-06T17:39:40.987Z] 33b1e0a273af: Download complete [2022-12-06T17:39:41.049Z] Merging remotes/origin/main commit a13c0d85fe61587dda65b2f8a27bf555b431ec25 into PR head commit 1d63d692516cbd49c17cc604c425aa28ded834f5 [2022-12-06T17:39:41.249Z] 5d3b04190fa2: Download complete [2022-12-06T17:39:41.249Z] ec43610c2a17: Verifying Checksum [2022-12-06T17:39:41.249Z] ec43610c2a17: Download complete [2022-12-06T17:39:41.249Z] 5eb5b503b376: Verifying Checksum [2022-12-06T17:39:41.249Z] 5eb5b503b376: Download complete [2022-12-06T17:39:41.297Z] Merge succeeded, producing 1d63d692516cbd49c17cc604c425aa28ded834f5 [2022-12-06T17:39:41.298Z] Checking out Revision 1d63d692516cbd49c17cc604c425aa28ded834f5 (PR-117) [2022-12-06T17:39:41.817Z] 2f39f015ded8: Download complete [2022-12-06T17:39:41.071Z] > git config core.sparsecheckout # timeout=10 [2022-12-06T17:39:41.099Z] > git checkout -f 1d63d692516cbd49c17cc604c425aa28ded834f5 # timeout=10 [2022-12-06T17:39:41.193Z] > git remote # timeout=10 [2022-12-06T17:39:41.210Z] > git config --get remote.origin.url # timeout=10 [2022-12-06T17:39:41.235Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-12-06T17:39:41.240Z] Verifying host key using known hosts file [2022-12-06T17:39:41.245Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-12-06T17:39:41.256Z] > git merge a13c0d85fe61587dda65b2f8a27bf555b431ec25 # timeout=10 [2022-12-06T17:39:41.280Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-12-06T17:39:41.304Z] > git config core.sparsecheckout # timeout=10 [2022-12-06T17:39:41.330Z] > git checkout -f 1d63d692516cbd49c17cc604c425aa28ded834f5 # timeout=10 [2022-12-06T17:39:42.385Z] 5eb5b503b376: Pull complete [2022-12-06T17:39:42.643Z] 5c69ac0246d0: Pull complete [2022-12-06T17:39:43.210Z] ec43610c2a17: Pull complete [2022-12-06T17:39:43.210Z] 3a2ae6a8a46f: Pull complete [2022-12-06T17:39:43.473Z] 33b1e0a273af: Pull complete [2022-12-06T17:39:43.473Z] 5d3b04190fa2: Pull complete [2022-12-06T17:39:44.819Z] Commit message: "fix: improve error messaging for incorrect protocol properties" [2022-12-06T17:39:44.862Z] > git --version # timeout=10 [2022-12-06T17:39:44.871Z] > git --version # 'git version 2.25.1' [2022-12-06T17:39:44.884Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-12-06T17:39:45.245Z] [2022-12-06T17:39:45.245Z] GitHub has been notified of this commit’s build result [2022-12-06T17:39:45.245Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-12-06T17:39:45.935Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-12-06T17:39:45.935Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-12-06T17:39:45.935Z] Dload Upload Total Spent Left Speed [2022-12-06T17:39:45.935Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 79198 0 --:--:-- --:--:-- --:--:-- 78709 100 12751 100 12751 0 0 78226 0 --:--:-- --:--:-- --:--:-- 78226 [Pipeline] sh [2022-12-06T17:39:46.660Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-12-06T17:39:47.009Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-12-06T17:39:47.009Z] + sudo tee /etc/docker/daemon.new [2022-12-06T17:39:47.009Z] { [2022-12-06T17:39:47.009Z] "registry-mirrors": [ [2022-12-06T17:39:47.009Z] "https://nexus3.edgexfoundry.org:10001" [2022-12-06T17:39:47.009Z] ], [2022-12-06T17:39:47.009Z] "bip": "10.250.0.254/24", [2022-12-06T17:39:47.009Z] "hosts": [ [2022-12-06T17:39:47.009Z] "tcp://0.0.0.0:5555", [2022-12-06T17:39:47.009Z] "unix:///var/run/docker.sock" [2022-12-06T17:39:47.009Z] ], [2022-12-06T17:39:47.009Z] "mtu": 1458, [2022-12-06T17:39:47.009Z] "selinux-enabled": true, [2022-12-06T17:39:47.009Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-12-06T17:39:47.009Z] } [Pipeline] sh [2022-12-06T17:39:47.344Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-12-06T17:39:47.687Z] + sudo service docker restart [2022-12-06T17:39:48.739Z] 2f39f015ded8: Pull complete [2022-12-06T17:39:48.740Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-12-06T17:39:48.740Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-12-06T17:39:48.740Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-06T17:39:48.945Z] prd-ubuntu20.04-docker-8c-8g-120656 does not seem to be running inside a container [2022-12-06T17:39:48.979Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-usb-camera_PR-117 -v /w/workspace/foundry_device-usb-camera_PR-117:/w/workspace/foundry_device-usb-camera_PR-117:rw,z -v /w/workspace/foundry_device-usb-camera_PR-117@tmp:/w/workspace/foundry_device-usb-camera_PR-117@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-12-06T17:39:52.122Z] $ docker top 02f4649bf3cc242d1678bbbd3283a7695a9bcd0be741f2d8a7a7c10afbbc9853 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-06T17:39:52.591Z] ---> job-cost.sh [2022-12-06T17:39:52.591Z] lf-activate-venv: SKIPPING [2022-12-06T17:39:52.591Z] INFO: No Stack... [2022-12-06T17:39:52.849Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-12-06T17:39:53.107Z] INFO: Archiving Costs [Pipeline] sh [2022-12-06T17:39:53.426Z] + cat /w/workspace/foundry_device-usb-camera_PR-117/archives/cost.csv [2022-12-06T17:39:53.427Z] + cut -d, -f6 [Pipeline] lock [2022-12-06T17:39:53.471Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-117-1-stack-cost] [2022-12-06T17:39:53.476Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-117-1-stack-cost] did not exist. Created. [2022-12-06T17:39:53.476Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-117-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-12-06T17:39:53.868Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-12-06T17:39:53.921Z] Stashed 1 file(s) [Pipeline] } [2022-12-06T17:39:53.955Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-117-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-12-06T17:39:54.036Z] $ docker stop --time=1 02f4649bf3cc242d1678bbbd3283a7695a9bcd0be741f2d8a7a7c10afbbc9853 [2022-12-06T17:39:55.201Z] $ docker rm -f 02f4649bf3cc242d1678bbbd3283a7695a9bcd0be741f2d8a7a7c10afbbc9853 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-12-06T17:40:05.989Z] provisioning config files... [2022-12-06T17:40:06.023Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config16675606414649900844tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-06T17:40:06.421Z] ---> docker-login.sh [2022-12-06T17:40:06.421Z] nexus3.edgexfoundry.org:10001 [2022-12-06T17:40:07.010Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-06T17:40:07.010Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-06T17:40:07.010Z] Configure a credential helper to remove this warning. See [2022-12-06T17:40:07.010Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-06T17:40:07.010Z] [2022-12-06T17:40:07.010Z] Login Succeeded [2022-12-06T17:40:07.010Z] nexus3.edgexfoundry.org:10002 [2022-12-06T17:40:07.280Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-06T17:40:07.547Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-06T17:40:07.547Z] Configure a credential helper to remove this warning. See [2022-12-06T17:40:07.547Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-06T17:40:07.547Z] [2022-12-06T17:40:07.547Z] Login Succeeded [2022-12-06T17:40:07.547Z] nexus3.edgexfoundry.org:10003 [2022-12-06T17:40:07.820Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-06T17:40:07.820Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-06T17:40:07.820Z] Configure a credential helper to remove this warning. See [2022-12-06T17:40:07.820Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-06T17:40:07.820Z] [2022-12-06T17:40:07.820Z] Login Succeeded [2022-12-06T17:40:07.820Z] nexus3.edgexfoundry.org:10004 [2022-12-06T17:40:08.100Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-06T17:40:08.100Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-06T17:40:08.100Z] Configure a credential helper to remove this warning. See [2022-12-06T17:40:08.100Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-06T17:40:08.100Z] [2022-12-06T17:40:08.100Z] Login Succeeded [2022-12-06T17:40:08.100Z] docker.io [2022-12-06T17:40:08.375Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-06T17:40:08.645Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-06T17:40:08.645Z] Configure a credential helper to remove this warning. See [2022-12-06T17:40:08.645Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-06T17:40:08.645Z] [2022-12-06T17:40:08.645Z] Login Succeeded [2022-12-06T17:40:08.645Z] ---> docker-login.sh ends [Pipeline] } [2022-12-06T17:40:08.674Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-12-06T17:40:08.965Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-12-06T17:40:09.001Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-12-06T17:40:09.032Z] ========================================================= [2022-12-06T17:40:09.032Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-12-06T17:40:09.032Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-06T17:40:09.526Z] + 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-12-06T17:40:09.796Z] Sending build context to Docker daemon 1.049MB [2022-12-06T17:40:09.796Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-12-06T17:40:09.796Z] Step 2/13 : FROM ${BASE} AS builder [2022-12-06T17:40:10.072Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-12-06T17:40:10.072Z] 9b18e9b68314: Pulling fs layer [2022-12-06T17:40:10.072Z] 35d82f9e3411: Pulling fs layer [2022-12-06T17:40:10.072Z] e16973657156: Pulling fs layer [2022-12-06T17:40:10.072Z] fc693d55d65f: Pulling fs layer [2022-12-06T17:40:10.072Z] 7e9fc2657dce: Pulling fs layer [2022-12-06T17:40:10.072Z] dda99020689f: Pulling fs layer [2022-12-06T17:40:10.072Z] db1c61fa0a46: Pulling fs layer [2022-12-06T17:40:10.072Z] 891c053d2c06: Pulling fs layer [2022-12-06T17:40:10.072Z] dda99020689f: Waiting [2022-12-06T17:40:10.072Z] db1c61fa0a46: Waiting [2022-12-06T17:40:10.072Z] fc693d55d65f: Waiting [2022-12-06T17:40:10.072Z] 891c053d2c06: Waiting [2022-12-06T17:40:10.072Z] 7e9fc2657dce: Waiting [2022-12-06T17:40:10.072Z] e16973657156: Download complete [2022-12-06T17:40:10.072Z] 35d82f9e3411: Verifying Checksum [2022-12-06T17:40:10.072Z] 35d82f9e3411: Download complete [2022-12-06T17:40:10.072Z] 7e9fc2657dce: Verifying Checksum [2022-12-06T17:40:10.072Z] 7e9fc2657dce: Download complete [2022-12-06T17:40:10.072Z] dda99020689f: Verifying Checksum [2022-12-06T17:40:10.072Z] dda99020689f: Download complete [2022-12-06T17:40:10.072Z] 9b18e9b68314: Verifying Checksum [2022-12-06T17:40:11.047Z] 9b18e9b68314: Pull complete [2022-12-06T17:40:11.047Z] 891c053d2c06: Verifying Checksum [2022-12-06T17:40:11.047Z] 891c053d2c06: Download complete [2022-12-06T17:40:11.634Z] 35d82f9e3411: Pull complete [2022-12-06T17:40:11.912Z] e16973657156: Pull complete [2022-12-06T17:40:12.500Z] db1c61fa0a46: Verifying Checksum [2022-12-06T17:40:12.500Z] db1c61fa0a46: Download complete [2022-12-06T17:40:13.087Z] fc693d55d65f: Verifying Checksum [2022-12-06T17:40:13.087Z] fc693d55d65f: Download complete [2022-12-06T17:40:25.444Z] fc693d55d65f: Pull complete [2022-12-06T17:40:25.444Z] 7e9fc2657dce: Pull complete [2022-12-06T17:40:25.444Z] dda99020689f: Pull complete [2022-12-06T17:40:32.112Z] db1c61fa0a46: Pull complete [2022-12-06T17:40:33.080Z] 891c053d2c06: Pull complete [2022-12-06T17:40:33.080Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2022-12-06T17:40:33.080Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-12-06T17:40:33.080Z] ---> f96f9c87975a [2022-12-06T17:40:33.080Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-12-06T17:40:35.031Z] ---> Running in 3f1ef75ecf91 [2022-12-06T17:40:35.031Z] Removing intermediate container 3f1ef75ecf91 [2022-12-06T17:40:35.031Z] ---> a50f5374ddc5 [2022-12-06T17:40:35.031Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-12-06T17:40:35.297Z] ---> Running in 57fdfd9f3a95 [2022-12-06T17:40:35.564Z] Removing intermediate container 57fdfd9f3a95 [2022-12-06T17:40:35.564Z] ---> 9415827bcddf [2022-12-06T17:40:35.564Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" [2022-12-06T17:40:35.564Z] ---> Running in e0b53a35adf5 [2022-12-06T17:40:35.832Z] Removing intermediate container e0b53a35adf5 [2022-12-06T17:40:35.832Z] ---> 56972747db9b [2022-12-06T17:40:35.832Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-12-06T17:40:35.832Z] ---> Running in 764b537da493 [2022-12-06T17:40:36.109Z] Removing intermediate container 764b537da493 [2022-12-06T17:40:36.109Z] ---> 9fa9561ca9da [2022-12-06T17:40:36.109Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-12-06T17:40:36.378Z] ---> Running in 2a5f8f69c536 [2022-12-06T17:40:37.336Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-12-06T17:40:37.601Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-12-06T17:40:38.560Z] (1/14) Installing libintl (0.21-r2) [2022-12-06T17:40:38.560Z] (2/14) Installing eudev-libs (3.2.11-r0) [2022-12-06T17:40:38.560Z] (3/14) Installing libjpeg-turbo (2.1.3-r1) [2022-12-06T17:40:38.560Z] (4/14) Installing v4l-utils-libs (1.22.1-r1) [2022-12-06T17:40:38.560Z] (5/14) Installing v4l-utils (1.22.1-r1) [2022-12-06T17:40:38.560Z] (6/14) Installing udev-init-scripts (35-r0) [2022-12-06T17:40:38.560Z] Executing udev-init-scripts-35-r0.post-install [2022-12-06T17:40:38.560Z] (7/14) Installing libblkid (2.38-r1) [2022-12-06T17:40:38.560Z] (8/14) Installing xz-libs (5.2.5-r1) [2022-12-06T17:40:38.560Z] (9/14) Installing zstd-libs (1.5.2-r1) [2022-12-06T17:40:38.830Z] (10/14) Installing kmod-libs (29-r2) [2022-12-06T17:40:38.830Z] (11/14) Installing eudev (3.2.11-r0) [2022-12-06T17:40:38.830Z] (12/14) Installing eudev-dev (3.2.11-r0) [2022-12-06T17:40:38.830Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) [2022-12-06T17:40:38.830Z] (14/14) Installing v4l-utils-dev (1.22.1-r1) [2022-12-06T17:40:38.830Z] Executing busybox-1.35.0-r17.trigger [2022-12-06T17:40:38.830Z] Executing eudev-3.2.11-r0.trigger [2022-12-06T17:40:38.830Z] OK: 228 MiB in 65 packages [2022-12-06T17:40:40.776Z] Removing intermediate container 2a5f8f69c536 [2022-12-06T17:40:40.776Z] ---> d7888bb09be6 [2022-12-06T17:40:40.776Z] Step 8/13 : WORKDIR /device-usb-camera [2022-12-06T17:40:40.776Z] ---> Running in 21ef905d1d0b [2022-12-06T17:40:40.776Z] Removing intermediate container 21ef905d1d0b [2022-12-06T17:40:40.776Z] ---> bb3909ff1e50 [2022-12-06T17:40:40.776Z] Step 9/13 : COPY go.mod vendor* ./ [2022-12-06T17:40:41.365Z] ---> 8188aa0c9040 [2022-12-06T17:40:41.365Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-12-06T17:40:41.365Z] ---> Running in 812895c24a1e [2022-12-06T17:41:37.799Z] Removing intermediate container 812895c24a1e [2022-12-06T17:41:37.799Z] ---> 8f6c2fec0a37 [2022-12-06T17:41:37.799Z] Step 11/13 : COPY . . [2022-12-06T17:41:37.799Z] ---> bd1ce1b33bb7 [2022-12-06T17:41:37.800Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2022-12-06T17:41:37.800Z] ---> Running in ca95fcea15b7 [2022-12-06T17:41:37.800Z]  % Total % Received % Xferd Average Speed  Time Time Time Current [2022-12-06T17:41:37.800Z]  Dload Upload Total Spent  Left Speed [2022-12-06T17:41:37.800Z] 0 0 0  0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 14529 0 --:--:-- --:--:-- --:--:-- 14750 [2022-12-06T17:41:37.800Z] Removing intermediate container ca95fcea15b7 [2022-12-06T17:41:37.800Z] ---> f06dafd4699a [2022-12-06T17:41:37.800Z] Step 13/13 : RUN ${MAKE} [2022-12-06T17:41:37.800Z] ---> Running in 54c3d79cacd4 [2022-12-06T17:41:37.800Z] noop [2022-12-06T17:41:37.800Z] Removing intermediate container 54c3d79cacd4 [2022-12-06T17:41:37.800Z] ---> 290257ca5bfb [2022-12-06T17:41:37.800Z] Successfully built 290257ca5bfb [2022-12-06T17:41:37.800Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-06T17:41:38.277Z] + docker inspect -f . ci-base-image-arm64 [2022-12-06T17:41:38.277Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-06T17:41:38.526Z] prd-ubuntu20.04-docker-arm64-4c-16g-120657 does not seem to be running inside a container [2022-12-06T17:41:38.587Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-12-06T17:41:39.691Z] $ docker top 4d71cfd8fe6d18fb36a8914896a20b56fd2ccd421a7cee9bfac1ca4eef8b2453 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-06T17:41:40.565Z] + go version [2022-12-06T17:41:40.565Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-12-06T17:41:40.598Z] $ docker stop --time=1 4d71cfd8fe6d18fb36a8914896a20b56fd2ccd421a7cee9bfac1ca4eef8b2453 [2022-12-06T17:41:42.173Z] $ docker rm -f 4d71cfd8fe6d18fb36a8914896a20b56fd2ccd421a7cee9bfac1ca4eef8b2453 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-06T17:41:43.024Z] + docker inspect -f . ci-base-image-arm64 [2022-12-06T17:41:43.024Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-06T17:41:43.275Z] prd-ubuntu20.04-docker-arm64-4c-16g-120657 does not seem to be running inside a container [2022-12-06T17:41:43.340Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-12-06T17:41:44.534Z] $ docker top ab12b5d5d15b06e90e9a22acde481c55b5025a54bd08ead7784aa93d3f09b070 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-06T17:41:45.085Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/1 [Pipeline] fileExists [Pipeline] sh [2022-12-06T17:41:45.476Z] + make test [2022-12-06T17:41:45.476Z] CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... [2022-12-06T17:41:47.429Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2022-12-06T17:43:24.103Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2022-12-06T17:43:24.103Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.071s coverage: 1.9% of statements [2022-12-06T17:43:24.103Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-12-06T17:43:24.103Z] CGO_ENABLED=1 go vet ./... [2022-12-06T17:43:39.128Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-12-06T17:43:39.128Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-12-06T17:43:39.128Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-12-06T17:43:39.168Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-12-06T17:43:39.195Z] $ docker stop --time=1 ab12b5d5d15b06e90e9a22acde481c55b5025a54bd08ead7784aa93d3f09b070 [2022-12-06T17:43:40.902Z] $ docker rm -f ab12b5d5d15b06e90e9a22acde481c55b5025a54bd08ead7784aa93d3f09b070 [Pipeline] // withDockerContainer [Pipeline] sh [2022-12-06T17:43:41.828Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-12-06T17:43:41.867Z] Warning: overwriting stash ‘coverage-report’ [2022-12-06T17:43:42.250Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-12-06T17:43:42.832Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-12-06T17:43:43.168Z] + ls -al . [2022-12-06T17:43:43.168Z] total 196 [2022-12-06T17:43:43.168Z] drwxrwxr-x 9 jenkins jenkins 4096 Dec 6 17:41 . [2022-12-06T17:43:43.168Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 6 17:39 .. [2022-12-06T17:43:43.168Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 6 17:39 .git [2022-12-06T17:43:43.168Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 17:39 .github [2022-12-06T17:43:43.168Z] -rw-rw-r-- 1 jenkins jenkins 414 Dec 6 17:39 .gitignore [2022-12-06T17:43:43.168Z] -rw-rw-r-- 1 jenkins jenkins 42 Dec 6 17:39 .golangci.yml [2022-12-06T17:43:43.168Z] -rw-rw-r-- 1 jenkins jenkins 77 Dec 6 17:39 .hadolint.yml [2022-12-06T17:43:43.168Z] -rw-rw-r-- 1 jenkins jenkins 9702 Dec 6 17:39 Attribution.txt [2022-12-06T17:43:43.168Z] -rw-rw-r-- 1 jenkins jenkins 1206 Dec 6 17:39 CHANGELOG.md [2022-12-06T17:43:43.168Z] -rw-rw-r-- 1 jenkins jenkins 2378 Dec 6 17:39 Dockerfile [2022-12-06T17:43:43.168Z] -rw-rw-r-- 1 jenkins jenkins 678 Dec 6 17:39 GOVERNANCE.md [2022-12-06T17:43:43.168Z] -rw-rw-r-- 1 jenkins jenkins 659 Dec 6 17:39 Jenkinsfile [2022-12-06T17:43:43.168Z] -rw-rw-r-- 1 jenkins jenkins 11348 Dec 6 17:39 LICENSE [2022-12-06T17:43:43.168Z] -rw-rw-r-- 1 jenkins jenkins 2554 Dec 6 17:39 Makefile [2022-12-06T17:43:43.168Z] -rw-rw-r-- 1 jenkins jenkins 622 Dec 6 17:39 OWNERS.md [2022-12-06T17:43:43.168Z] -rw-rw-r-- 1 jenkins jenkins 5773 Dec 6 17:39 README.md [2022-12-06T17:43:43.168Z] -rw-rw-r-- 1 jenkins jenkins 5 Dec 6 17:37 VERSION [2022-12-06T17:43:43.168Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 6 17:39 bin [2022-12-06T17:43:43.168Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 17:39 cmd [2022-12-06T17:43:43.168Z] -rw-r--r-- 1 jenkins jenkins 30410 Dec 6 17:43 coverage.out [2022-12-06T17:43:43.168Z] -rwxrwxr-x 1 jenkins jenkins 140 Dec 6 17:39 docker-entrypoint.sh [2022-12-06T17:43:43.168Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 17:39 docs [2022-12-06T17:43:43.168Z] -rw-rw-r-- 1 jenkins jenkins 3573 Dec 6 17:39 go.mod [2022-12-06T17:43:43.168Z] -rw-rw-r-- 1 jenkins jenkins 45026 Dec 6 17:39 go.sum [2022-12-06T17:43:43.168Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 17:39 internal [2022-12-06T17:43:43.168Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 6 17:39 snap [2022-12-06T17:43:43.168Z] -rw-rw-r-- 1 jenkins jenkins 231 Dec 6 17:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-06T17:43:43.586Z] + 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=1d63d692516cbd49c17cc604c425aa28ded834f5 --label arch=arm64 --label version=0.0.0 . [2022-12-06T17:43:43.854Z] Sending build context to Docker daemon 1.08MB [2022-12-06T17:43:43.854Z] Step 1/35 : ARG BASE=golang:1.18-alpine3.16 [2022-12-06T17:43:43.854Z] Step 2/35 : FROM ${BASE} AS builder [2022-12-06T17:43:43.854Z] ---> 290257ca5bfb [2022-12-06T17:43:43.854Z] Step 3/35 : ARG ADD_BUILD_TAGS="" [2022-12-06T17:43:43.854Z] ---> Running in 5beb6e233f70 [2022-12-06T17:43:44.438Z] Removing intermediate container 5beb6e233f70 [2022-12-06T17:43:44.438Z] ---> ef9734028b72 [2022-12-06T17:43:44.438Z] Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-12-06T17:43:44.438Z] ---> Running in e5904ba0cd5d [2022-12-06T17:43:44.708Z] Removing intermediate container e5904ba0cd5d [2022-12-06T17:43:44.708Z] ---> 53eb0a177207 [2022-12-06T17:43:44.708Z] Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" [2022-12-06T17:43:44.708Z] ---> Running in 840deea25087 [2022-12-06T17:43:44.976Z] Removing intermediate container 840deea25087 [2022-12-06T17:43:44.976Z] ---> 7b6cadc8a93e [2022-12-06T17:43:44.976Z] Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-12-06T17:43:44.976Z] ---> Running in 4609dbf0f515 [2022-12-06T17:43:45.244Z] Removing intermediate container 4609dbf0f515 [2022-12-06T17:43:45.245Z] ---> dc09fee091d1 [2022-12-06T17:43:45.245Z] Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-12-06T17:43:45.245Z] ---> Running in eef97869b0b8 [2022-12-06T17:43:46.656Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-12-06T17:43:47.238Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-12-06T17:43:48.648Z] OK: 228 MiB in 65 packages [2022-12-06T17:43:49.230Z] Removing intermediate container eef97869b0b8 [2022-12-06T17:43:49.230Z] ---> 490b27780f3f [2022-12-06T17:43:49.230Z] Step 8/35 : WORKDIR /device-usb-camera [2022-12-06T17:43:49.230Z] ---> Running in f92b5da95827 [2022-12-06T17:43:49.499Z] Removing intermediate container f92b5da95827 [2022-12-06T17:43:49.499Z] ---> 7a37e00c2e4a [2022-12-06T17:43:49.499Z] Step 9/35 : COPY go.mod vendor* ./ [2022-12-06T17:43:50.085Z] ---> e374d9395ace [2022-12-06T17:43:50.085Z] Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-12-06T17:43:50.085Z] ---> Running in 98e0e110e657 [2022-12-06T17:43:52.028Z] Removing intermediate container 98e0e110e657 [2022-12-06T17:43:52.028Z] ---> ab5edbfa5369 [2022-12-06T17:43:52.028Z] Step 11/35 : COPY . . [2022-12-06T17:43:53.001Z] ---> 4e39a12d4b23 [2022-12-06T17:43:53.001Z] Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2022-12-06T17:43:53.001Z] ---> Running in 7490807d17d2 [2022-12-06T17:43:54.070Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2022-12-06T17:43:54.070Z] Dload Upload Total Spent Left Speed [2022-12-06T17:43:54.374Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 5203 0 --:--:-- --:--:-- --:--:-- 5231 [2022-12-06T17:43:55.383Z] Removing intermediate container 7490807d17d2 [2022-12-06T17:43:55.383Z] ---> 62b14e718ab8 [2022-12-06T17:43:55.383Z] Step 13/35 : RUN ${MAKE} [2022-12-06T17:43:55.383Z] ---> Running in 5ce76db018e3 [2022-12-06T17:43:58.006Z] CGO_ENABLED=1 go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd [2022-12-06T17:46:34.793Z] Removing intermediate container 5ce76db018e3 [2022-12-06T17:46:34.793Z] ---> 0f30fb57a6ba [2022-12-06T17:46:34.793Z] Step 14/35 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp [2022-12-06T17:46:34.793Z] v0.18.4: Pulling from aler9/rtsp-simple-server [2022-12-06T17:46:34.793Z] eab2503cf8f4: Pulling fs layer [2022-12-06T17:46:34.793Z] 97cd0a44c592: Pulling fs layer [2022-12-06T17:46:34.793Z] 97cd0a44c592: Verifying Checksum [2022-12-06T17:46:34.793Z] 97cd0a44c592: Download complete [2022-12-06T17:46:34.793Z] eab2503cf8f4: Verifying Checksum [2022-12-06T17:46:34.793Z] eab2503cf8f4: Download complete [2022-12-06T17:46:34.793Z] eab2503cf8f4: Pull complete [2022-12-06T17:46:34.793Z] 97cd0a44c592: Pull complete [2022-12-06T17:46:34.793Z] Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 [2022-12-06T17:46:34.793Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 [2022-12-06T17:46:34.793Z] ---> 7f763cca56b3 [2022-12-06T17:46:34.793Z] Step 15/35 : FROM alpine:3.16 [2022-12-06T17:46:34.793Z] 3.16: Pulling from library/alpine [2022-12-06T17:46:34.793Z] 6875df1f5354: Pulling fs layer [2022-12-06T17:46:34.793Z] 6875df1f5354: Verifying Checksum [2022-12-06T17:46:34.793Z] 6875df1f5354: Download complete [2022-12-06T17:46:34.793Z] 6875df1f5354: Pull complete [2022-12-06T17:46:34.793Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2022-12-06T17:46:34.793Z] Status: Downloaded newer image for alpine:3.16 [2022-12-06T17:46:34.793Z] ---> 2b4661558fb8 [2022-12-06T17:46:34.793Z] Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-12-06T17:46:34.793Z] ---> Running in c763cea13fa6 [2022-12-06T17:46:34.793Z] Removing intermediate container c763cea13fa6 [2022-12-06T17:46:34.793Z] ---> b2f43acce8f4 [2022-12-06T17:46:34.793Z] Step 17/35 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev [2022-12-06T17:46:34.793Z] ---> Running in afd4afeb5ffc [2022-12-06T17:46:34.793Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-12-06T17:46:34.793Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-12-06T17:46:35.064Z] (1/82) Installing dumb-init (1.2.5-r1) [2022-12-06T17:46:35.064Z] (2/82) Installing sdl2 (2.0.22-r0) [2022-12-06T17:46:35.064Z] (3/82) Installing libxau (1.0.9-r0) [2022-12-06T17:46:35.064Z] (4/82) Installing libxdmcp (1.1.3-r0) [2022-12-06T17:46:35.064Z] (5/82) Installing libxcb (1.15-r0) [2022-12-06T17:46:35.064Z] (6/82) Installing libx11 (1.8-r0) [2022-12-06T17:46:35.333Z] (7/82) Installing aom-libs (3.3.0-r0) [2022-12-06T17:46:35.333Z] (8/82) Installing alsa-lib (1.2.7.2-r0) [2022-12-06T17:46:35.333Z] (9/82) Installing expat (2.5.0-r0) [2022-12-06T17:46:35.333Z] (10/82) Installing brotli-libs (1.0.9-r6) [2022-12-06T17:46:35.333Z] (11/82) Installing libbz2 (1.0.8-r1) [2022-12-06T17:46:35.333Z] (12/82) Installing libpng (1.6.37-r1) [2022-12-06T17:46:35.333Z] (13/82) Installing freetype (2.12.1-r0) [2022-12-06T17:46:35.603Z] (14/82) Installing fontconfig (2.14.0-r0) [2022-12-06T17:46:35.603Z] (15/82) Installing fribidi (1.0.12-r0) [2022-12-06T17:46:35.603Z] (16/82) Installing libffi (3.4.2-r1) [2022-12-06T17:46:35.603Z] (17/82) Installing libintl (0.21-r2) [2022-12-06T17:46:35.603Z] (18/82) Installing libblkid (2.38-r1) [2022-12-06T17:46:35.603Z] (19/82) Installing libmount (2.38-r1) [2022-12-06T17:46:35.603Z] (20/82) Installing pcre (8.45-r2) [2022-12-06T17:46:35.603Z] (21/82) Installing glib (2.72.1-r0) [2022-12-06T17:46:35.603Z] (22/82) Installing graphite2 (1.3.14-r1) [2022-12-06T17:46:35.603Z] (23/82) Installing harfbuzz (4.3.0-r0) [2022-12-06T17:46:35.873Z] (24/82) Installing libass (0.16.0-r0) [2022-12-06T17:46:35.873Z] (25/82) Installing libdav1d (1.0.0-r0) [2022-12-06T17:46:35.873Z] (26/82) Installing libdrm (2.4.110-r0) [2022-12-06T17:46:35.873Z] (27/82) Installing gmp (6.2.1-r2) [2022-12-06T17:46:35.873Z] (28/82) Installing nettle (3.7.3-r0) [2022-12-06T17:46:35.873Z] (29/82) Installing p11-kit (0.24.1-r0) [2022-12-06T17:46:35.873Z] (30/82) Installing libtasn1 (4.18.0-r0) [2022-12-06T17:46:35.873Z] (31/82) Installing libunistring (1.0-r0) [2022-12-06T17:46:35.873Z] (32/82) Installing gnutls (3.7.7-r0) [2022-12-06T17:46:35.873Z] (33/82) Installing ncurses-terminfo-base (6.3_p20220521-r0) [2022-12-06T17:46:35.873Z] (34/82) Installing ncurses-libs (6.3_p20220521-r0) [2022-12-06T17:46:35.873Z] (35/82) Installing lame (3.100-r0) [2022-12-06T17:46:36.140Z] (36/82) Installing opus (1.3.1-r1) [2022-12-06T17:46:36.140Z] (37/82) Installing libasyncns (0.8-r1) [2022-12-06T17:46:36.140Z] (38/82) Installing dbus-libs (1.14.4-r0) [2022-12-06T17:46:36.140Z] (39/82) Installing libltdl (2.4.7-r0) [2022-12-06T17:46:36.140Z] (40/82) Installing orc (0.4.32-r0) [2022-12-06T17:46:36.140Z] (41/82) Installing libgcc (11.2.1_git20220219-r2) [2022-12-06T17:46:36.140Z] (42/82) Installing libogg (1.3.5-r1) [2022-12-06T17:46:36.140Z] (43/82) Installing libstdc++ (11.2.1_git20220219-r2) [2022-12-06T17:46:36.140Z] (44/82) Installing flac (1.3.4-r0) [2022-12-06T17:46:36.140Z] (45/82) Installing libvorbis (1.3.7-r0) [2022-12-06T17:46:36.140Z] (46/82) Installing libsndfile (1.1.0-r0) [2022-12-06T17:46:36.140Z] (47/82) Installing libgomp (11.2.1_git20220219-r2) [2022-12-06T17:46:36.140Z] (48/82) Installing soxr (0.1.3-r2) [2022-12-06T17:46:36.140Z] (49/82) Installing speexdsp (1.2.0-r0) [2022-12-06T17:46:36.140Z] (50/82) Installing tdb-libs (1.4.6-r0) [2022-12-06T17:46:36.140Z] (51/82) Installing libpulse (15.0-r2) [2022-12-06T17:46:36.408Z] (52/82) Installing cjson (1.7.15-r3) [2022-12-06T17:46:36.408Z] (53/82) Installing mbedtls (2.28.1-r0) [2022-12-06T17:46:36.408Z] (54/82) Installing librist (0.2.6-r1) [2022-12-06T17:46:36.408Z] (55/82) Installing libsrt (1.4.4-r0) [2022-12-06T17:46:36.408Z] (56/82) Installing libssh (0.9.6-r1) [2022-12-06T17:46:36.408Z] (57/82) Installing libtheora (1.1.1-r16) [2022-12-06T17:46:36.408Z] (58/82) Installing libjpeg-turbo (2.1.3-r1) [2022-12-06T17:46:36.408Z] (59/82) Installing v4l-utils-libs (1.22.1-r1) [2022-12-06T17:46:36.408Z] (60/82) Installing libxext (1.3.4-r0) [2022-12-06T17:46:36.408Z] (61/82) Installing libxfixes (6.0.0-r0) [2022-12-06T17:46:36.408Z] (62/82) Installing wayland-libs-client (1.20.0-r0) [2022-12-06T17:46:36.408Z] (63/82) Installing libva (2.14.0-r0) [2022-12-06T17:46:36.408Z] (64/82) Installing libvdpau (1.5-r0) [2022-12-06T17:46:36.408Z] (65/82) Installing vidstab (1.1.0-r1) [2022-12-06T17:46:36.408Z] (66/82) Installing libvpx (1.11.0-r1) [2022-12-06T17:46:36.676Z] (67/82) Installing libwebp (1.2.3-r0) [2022-12-06T17:46:36.676Z] (68/82) Installing x264-libs (0.163_git20210613-r0) [2022-12-06T17:46:36.676Z] (69/82) Installing numactl (2.0.14-r0) [2022-12-06T17:46:36.676Z] (70/82) Installing x265-libs (3.5-r3) [2022-12-06T17:46:36.676Z] (71/82) Installing xvidcore (1.3.7-r1) [2022-12-06T17:46:36.676Z] (72/82) Installing ffmpeg-libs (5.0.1-r1) [2022-12-06T17:46:37.258Z] (73/82) Installing ffmpeg (5.0.1-r1) [2022-12-06T17:46:37.258Z] (74/82) Installing udev-init-scripts (35-r0) [2022-12-06T17:46:37.258Z] Executing udev-init-scripts-35-r0.post-install [2022-12-06T17:46:37.258Z] (75/82) Installing eudev-libs (3.2.11-r0) [2022-12-06T17:46:37.258Z] (76/82) Installing xz-libs (5.2.5-r1) [2022-12-06T17:46:37.258Z] (77/82) Installing zstd-libs (1.5.2-r1) [2022-12-06T17:46:37.258Z] (78/82) Installing kmod-libs (29-r2) [2022-12-06T17:46:37.258Z] (79/82) Installing eudev (3.2.11-r0) [2022-12-06T17:46:37.258Z] (80/82) Installing libsodium (1.0.18-r0) [2022-12-06T17:46:37.258Z] (81/82) Installing libzmq (4.3.4-r0) [2022-12-06T17:46:37.258Z] (82/82) Installing zeromq (4.3.4-r0) [2022-12-06T17:46:37.258Z] Executing busybox-1.35.0-r17.trigger [2022-12-06T17:46:37.524Z] Executing eudev-3.2.11-r0.trigger [2022-12-06T17:46:37.524Z] OK: 78 MiB in 96 packages [2022-12-06T17:46:40.888Z] Removing intermediate container afd4afeb5ffc [2022-12-06T17:46:40.888Z] ---> 1cc43fae5e00 [2022-12-06T17:46:40.888Z] Step 18/35 : WORKDIR / [2022-12-06T17:46:40.888Z] ---> Running in 8f2b9faa4252 [2022-12-06T17:46:40.888Z] Removing intermediate container 8f2b9faa4252 [2022-12-06T17:46:40.888Z] ---> dbbd202998d9 [2022-12-06T17:46:40.888Z] Step 19/35 : COPY --from=builder /device-usb-camera/cmd / [2022-12-06T17:46:42.299Z] ---> ce1738d2047e [2022-12-06T17:46:42.299Z] Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / [2022-12-06T17:46:42.567Z] ---> 2f56c8a67f31 [2022-12-06T17:46:42.567Z] Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2022-12-06T17:46:42.836Z] ---> 935087744b78 [2022-12-06T17:46:42.836Z] Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / [2022-12-06T17:46:43.421Z] ---> 5552afe2b6a0 [2022-12-06T17:46:43.421Z] Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2022-12-06T17:46:44.006Z] ---> c716fa903642 [2022-12-06T17:46:44.006Z] Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / [2022-12-06T17:46:44.272Z] ---> 9b050af5b4e1 [2022-12-06T17:46:44.272Z] Step 25/35 : COPY --from=rtsp /rtsp-simple-server / [2022-12-06T17:46:45.683Z] ---> 9c3923d86727 [2022-12-06T17:46:45.683Z] Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2022-12-06T17:46:45.683Z] ---> Running in 7fb3d9e6da38 [2022-12-06T17:46:47.091Z] Removing intermediate container 7fb3d9e6da38 [2022-12-06T17:46:47.091Z] ---> dbb788beb5c9 [2022-12-06T17:46:47.091Z] Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2022-12-06T17:46:47.091Z] ---> Running in 581799a66a1f [2022-12-06T17:46:48.501Z] Removing intermediate container 581799a66a1f [2022-12-06T17:46:48.501Z] ---> 9d7c53a2bd4a [2022-12-06T17:46:48.501Z] Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2022-12-06T17:46:48.501Z] ---> Running in aedefdcc9f82 [2022-12-06T17:46:50.449Z] Removing intermediate container aedefdcc9f82 [2022-12-06T17:46:50.449Z] ---> a6f791eb81c6 [2022-12-06T17:46:50.449Z] Step 29/35 : EXPOSE 59983 [2022-12-06T17:46:50.449Z] ---> Running in b12d306f4250 [2022-12-06T17:46:50.449Z] Removing intermediate container b12d306f4250 [2022-12-06T17:46:50.449Z] ---> 92c51997a9e3 [2022-12-06T17:46:50.449Z] Step 30/35 : EXPOSE 8554 [2022-12-06T17:46:50.449Z] ---> Running in a5b5289dec1f [2022-12-06T17:46:50.716Z] Removing intermediate container a5b5289dec1f [2022-12-06T17:46:50.716Z] ---> 244d4d633065 [2022-12-06T17:46:50.716Z] Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] [2022-12-06T17:46:50.716Z] ---> Running in 28a4641ccc53 [2022-12-06T17:46:50.983Z] Removing intermediate container 28a4641ccc53 [2022-12-06T17:46:50.983Z] ---> badf9c7d6dcf [2022-12-06T17:46:50.983Z] Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] [2022-12-06T17:46:50.983Z] ---> Running in 65c2ee71a7c8 [2022-12-06T17:46:51.254Z] Removing intermediate container 65c2ee71a7c8 [2022-12-06T17:46:51.254Z] ---> a383e0428204 [2022-12-06T17:46:51.254Z] Step 33/35 : LABEL arch=arm64 [2022-12-06T17:46:51.522Z] ---> Running in fc7e2ea78851 [2022-12-06T17:46:51.790Z] Removing intermediate container fc7e2ea78851 [2022-12-06T17:46:51.790Z] ---> 53e8132b07f5 [2022-12-06T17:46:51.790Z] Step 34/35 : LABEL git_sha=1d63d692516cbd49c17cc604c425aa28ded834f5 [2022-12-06T17:46:51.790Z] ---> Running in 135e16edbd92 [2022-12-06T17:46:52.059Z] Removing intermediate container 135e16edbd92 [2022-12-06T17:46:52.059Z] ---> a9c49385b356 [2022-12-06T17:46:52.059Z] Step 35/35 : LABEL version=0.0.0 [2022-12-06T17:46:52.059Z] ---> Running in 6cb89247f5fc [2022-12-06T17:46:52.326Z] Removing intermediate container 6cb89247f5fc [2022-12-06T17:46:52.326Z] ---> 6a07f432a9ca [2022-12-06T17:46:52.326Z] [Warning] One or more build-args [ARCH] were not consumed [2022-12-06T17:46:52.326Z] Successfully built 6a07f432a9ca [2022-12-06T17:46:52.326Z] 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-12-06T17:46:53.139Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-12-06T17:46:53.139Z] [2022-12-06T17:46:53.139Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-06T17:46:53.532Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-12-06T17:46:53.532Z] arm64: Pulling from edgex-lftools-log-publisher [2022-12-06T17:46:53.532Z] 8998bd30e6a1: Pulling fs layer [2022-12-06T17:46:53.532Z] 04944245beec: Pulling fs layer [2022-12-06T17:46:53.532Z] 699f458cf7ca: Pulling fs layer [2022-12-06T17:46:53.532Z] 765212b225bb: Pulling fs layer [2022-12-06T17:46:53.532Z] f23df028b6ca: Pulling fs layer [2022-12-06T17:46:53.532Z] d65c8cfc05b1: Pulling fs layer [2022-12-06T17:46:53.532Z] 2437ff75d9bd: Pulling fs layer [2022-12-06T17:46:53.532Z] f23df028b6ca: Waiting [2022-12-06T17:46:53.532Z] d65c8cfc05b1: Waiting [2022-12-06T17:46:53.532Z] 765212b225bb: Waiting [2022-12-06T17:46:53.532Z] 2437ff75d9bd: Waiting [2022-12-06T17:46:53.798Z] 04944245beec: Verifying Checksum [2022-12-06T17:46:53.798Z] 04944245beec: Download complete [2022-12-06T17:46:53.798Z] 765212b225bb: Verifying Checksum [2022-12-06T17:46:53.798Z] 765212b225bb: Download complete [2022-12-06T17:46:53.798Z] f23df028b6ca: Verifying Checksum [2022-12-06T17:46:53.798Z] f23df028b6ca: Download complete [2022-12-06T17:46:53.798Z] d65c8cfc05b1: Verifying Checksum [2022-12-06T17:46:53.798Z] d65c8cfc05b1: Download complete [2022-12-06T17:46:54.066Z] 699f458cf7ca: Verifying Checksum [2022-12-06T17:46:54.066Z] 699f458cf7ca: Download complete [2022-12-06T17:46:54.336Z] 8998bd30e6a1: Verifying Checksum [2022-12-06T17:46:54.336Z] 8998bd30e6a1: Download complete [2022-12-06T17:46:56.282Z] 2437ff75d9bd: Verifying Checksum [2022-12-06T17:46:56.282Z] 2437ff75d9bd: Download complete [2022-12-06T17:46:58.225Z] 8998bd30e6a1: Pull complete [2022-12-06T17:46:58.493Z] 04944245beec: Pull complete [2022-12-06T17:46:59.897Z] 699f458cf7ca: Pull complete [2022-12-06T17:46:59.897Z] 765212b225bb: Pull complete [2022-12-06T17:47:00.479Z] f23df028b6ca: Pull complete [2022-12-06T17:47:00.748Z] d65c8cfc05b1: Pull complete [2022-12-06T17:47:15.738Z] 2437ff75d9bd: Pull complete [2022-12-06T17:47:15.738Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-12-06T17:47:15.738Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-12-06T17:47:15.738Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-06T17:47:16.033Z] prd-ubuntu20.04-docker-arm64-4c-16g-120657 does not seem to be running inside a container [2022-12-06T17:47:16.088Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-12-06T17:47:18.512Z] $ docker top 4bef3bace5a95f1dcb558275ce0295fb4d73e6f814dc084613452248ea9e449e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-06T17:47:19.398Z] ---> job-cost.sh [2022-12-06T17:47:19.398Z] lf-activate-venv: SKIPPING [2022-12-06T17:47:19.398Z] INFO: No Stack... [2022-12-06T17:47:19.664Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-12-06T17:47:20.622Z] INFO: Archiving Costs [Pipeline] sh [2022-12-06T17:47:20.969Z] + cat /w/workspace/device-usb-camera/1/archives/cost.csv [2022-12-06T17:47:20.969Z] + cut -d, -f6 [Pipeline] lock [2022-12-06T17:47:21.315Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-117-1-stack-cost] [2022-12-06T17:47:21.321Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-117-1-stack-cost] did not exist. Created. [2022-12-06T17:47:21.321Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-117-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-12-06T17:47:21.734Z] /w/workspace/device-usb-camera/1@tmp/durable-7fda6575/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-12-06T17:47:22.081Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-12-06T17:47:22.116Z] Warning: overwriting stash ‘stack-cost’ [2022-12-06T17:47:22.157Z] Stashed 1 file(s) [Pipeline] } [2022-12-06T17:47:22.172Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-117-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-12-06T17:47:22.260Z] $ docker stop --time=1 4bef3bace5a95f1dcb558275ce0295fb4d73e6f814dc084613452248ea9e449e [2022-12-06T17:47:23.712Z] $ docker rm -f 4bef3bace5a95f1dcb558275ce0295fb4d73e6f814dc084613452248ea9e449e [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-12-06T17:47:24.700Z] provisioning config files... [2022-12-06T17:47:24.707Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-117@tmp/config9159737413996863018tmp [Pipeline] { [Pipeline] sh [2022-12-06T17:47:25.045Z] + set +x [2022-12-06T17:47:25.045Z] + bash -s -- [2022-12-06T17:47:25.045Z] + curl -s https://codecov.io/bash [2022-12-06T17:47:25.045Z] [2022-12-06T17:47:25.045Z] _____ _ [2022-12-06T17:47:25.045Z] / ____| | | [2022-12-06T17:47:25.045Z] | | ___ __| | ___ ___ _____ __ [2022-12-06T17:47:25.045Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-12-06T17:47:25.045Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-12-06T17:47:25.045Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-12-06T17:47:25.045Z] Bash-1.0.6 [2022-12-06T17:47:25.045Z] [2022-12-06T17:47:25.045Z] [2022-12-06T17:47:25.045Z] ==> git version 2.25.1 found [2022-12-06T17:47:25.045Z] ==> 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-12-06T17:47:25.045Z] Release-Date: 2020-01-08 [2022-12-06T17:47:25.045Z] 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-12-06T17:47:25.045Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-12-06T17:47:25.045Z] ==> Jenkins CI detected. [2022-12-06T17:47:25.045Z] current dir:  /w/workspace/foundry_device-usb-camera_PR-117 [2022-12-06T17:47:25.045Z] project root: . [2022-12-06T17:47:25.045Z] --> token set from env [2022-12-06T17:47:25.045Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-12-06T17:47:25.045Z] ==> Running gcov in . (disable via -X gcov) [2022-12-06T17:47:25.045Z] ==> Python coveragepy not found [2022-12-06T17:47:25.045Z] ==> Searching for coverage reports in: [2022-12-06T17:47:25.045Z] + . [2022-12-06T17:47:25.045Z] -> Found 1 reports [2022-12-06T17:47:25.045Z] ==> Detecting git/mercurial file structure [2022-12-06T17:47:25.045Z] ==> Reading reports [2022-12-06T17:47:25.305Z] + ./coverage.out bytes=30410 [2022-12-06T17:47:25.305Z] ==> Appending adjustments [2022-12-06T17:47:25.305Z] https://docs.codecov.io/docs/fixing-reports [2022-12-06T17:47:25.305Z] + Found adjustments [2022-12-06T17:47:25.305Z] ==> Gzipping contents [2022-12-06T17:47:25.305Z] 8.0K /tmp/codecov.Oy6zab.gz [2022-12-06T17:47:25.305Z] ==> Uploading reports [2022-12-06T17:47:25.305Z] url: https://codecov.io [2022-12-06T17:47:25.305Z] query: branch=PR-117&commit=1d63d692516cbd49c17cc604c425aa28ded834f5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-117%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=117&job=&cmd_args= [2022-12-06T17:47:25.305Z] -> Pinging Codecov [2022-12-06T17:47:25.305Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-117&commit=1d63d692516cbd49c17cc604c425aa28ded834f5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-117%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=117&job=&cmd_args= [2022-12-06T17:47:25.566Z] -> Uploading to [2022-12-06T17:47:25.566Z] https://storage.googleapis.com/codecov/v4/raw/2022-12-06/73D8F5FF140700D3E01443B452E23636/1d63d692516cbd49c17cc604c425aa28ded834f5/588b4827-ae32-4c53-b357-5229a11aa520.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221206%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221206T174725Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5a65ccfc1daf632c549a887af42714bbd613991488a4a651789c78aa07242b5f [2022-12-06T17:47:25.566Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-12-06T17:47:25.566Z] Dload Upload Total Spent Left Speed [2022-12-06T17:47:25.825Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4292 0 0 100 4292 0 16074 --:--:-- --:--:-- --:--:-- 16074 [2022-12-06T17:47:25.825Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/1d63d692516cbd49c17cc604c425aa28ded834f5 [Pipeline] } [2022-12-06T17:47:25.853Z] 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-12-06T17:47:27.575Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-117/archives ] [2022-12-06T17:47:27.575Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-117/archives [2022-12-06T17:47:27.575Z] total 16 [2022-12-06T17:47:27.575Z] drwxr-xr-x 3 root root 4096 Dec 6 17:39 . [2022-12-06T17:47:27.575Z] drwxrwxr-x 11 jenkins jenkins 4096 Dec 6 17:39 .. [2022-12-06T17:47:27.575Z] drwxr-xr-x 2 root root 4096 Dec 6 17:39 cost [2022-12-06T17:47:27.575Z] -rw-r--r-- 1 root root 89 Dec 6 17:39 cost.csv [2022-12-06T17:47:27.575Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-117/archives [2022-12-06T17:47:27.575Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-117/archives [2022-12-06T17:47:27.575Z] total 16 [2022-12-06T17:47:27.575Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 6 17:39 . [2022-12-06T17:47:27.575Z] drwxrwxr-x 11 jenkins jenkins 4096 Dec 6 17:39 .. [2022-12-06T17:47:27.575Z] drwxr-xr-x 2 jenkins jenkins 4096 Dec 6 17:39 cost [2022-12-06T17:47:27.575Z] -rw-r--r-- 1 jenkins jenkins 89 Dec 6 17:39 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-12-06T17:47:27.901Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-06T17:47:28.793Z] ---> package-listing.sh [2022-12-06T17:47:28.793Z] ++ facter osfamily [2022-12-06T17:47:28.793Z] ++ tr '[:upper:]' '[:lower:]' [2022-12-06T17:47:29.054Z] + OS_FAMILY=debian [2022-12-06T17:47:29.054Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-117 [2022-12-06T17:47:29.054Z] + START_PACKAGES=/tmp/packages_start.txt [2022-12-06T17:47:29.054Z] + END_PACKAGES=/tmp/packages_end.txt [2022-12-06T17:47:29.054Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-12-06T17:47:29.054Z] + PACKAGES=/tmp/packages_start.txt [2022-12-06T17:47:29.054Z] + '[' /w/workspace/foundry_device-usb-camera_PR-117 ']' [2022-12-06T17:47:29.054Z] + PACKAGES=/tmp/packages_end.txt [2022-12-06T17:47:29.054Z] + case "${OS_FAMILY}" in [2022-12-06T17:47:29.054Z] + dpkg -l [2022-12-06T17:47:29.054Z] + grep '^ii' [2022-12-06T17:47:29.054Z] + '[' -f /tmp/packages_start.txt ']' [2022-12-06T17:47:29.054Z] + '[' -f /tmp/packages_end.txt ']' [2022-12-06T17:47:29.054Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-12-06T17:47:29.054Z] + '[' /w/workspace/foundry_device-usb-camera_PR-117 ']' [2022-12-06T17:47:29.054Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-117/archives/ [2022-12-06T17:47:29.054Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-117/archives/ [Pipeline] echo [2022-12-06T17:47:29.084Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-usb-camera_PR-117/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-12-06T17:47:29.375Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-06T17:47:30.004Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-12-06T17:47:30.004Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-06T17:47:30.139Z] prd-ubuntu20.04-docker-8c-8g-120656 does not seem to be running inside a container [2022-12-06T17:47:30.168Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-usb-camera_PR-117/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-usb-camera_PR-117 -v /w/workspace/foundry_device-usb-camera_PR-117:/w/workspace/foundry_device-usb-camera_PR-117:rw,z -v /w/workspace/foundry_device-usb-camera_PR-117@tmp:/w/workspace/foundry_device-usb-camera_PR-117@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-12-06T17:47:30.377Z] $ docker top 4c5e1e6dd8f5007b9f8cf72eb6ef78b53b66f6e5e2147c4106d8fbfadfdc4bbd -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-06T17:47:30.766Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-12-06T17:47:31.074Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-12-06T17:47:31.382Z] + ls /var/log/sa-host [2022-12-06T17:47:31.382Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-12-06T17:47:31.596Z] provisioning config files... [2022-12-06T17:47:31.607Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-117@tmp/config5779299599158027932tmp [Pipeline] { [Pipeline] echo [2022-12-06T17:47:31.652Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-06T17:47:31.966Z] ---> create-netrc.sh [Pipeline] } [2022-12-06T17:47:31.992Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-12-06T17:47:32.394Z] ---> python-tools-install.sh [Pipeline] echo [2022-12-06T17:47:32.429Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-06T17:47:32.739Z] ---> sudo-logs.sh [2022-12-06T17:47:32.739Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-12-06T17:47:32.823Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-06T17:47:33.129Z] ---> job-cost.sh [2022-12-06T17:47:33.129Z] lf-activate-venv: SKIPPING [2022-12-06T17:47:33.129Z] DEBUG: total: 0.2199999988079071 [2022-12-06T17:47:33.129Z] INFO: Retrieving Stack Cost... [2022-12-06T17:47:33.697Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-12-06T17:47:33.957Z] INFO: Archiving Costs [Pipeline] echo [2022-12-06T17:47:33.993Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-06T17:47:34.304Z] ---> logs-deploy.sh [2022-12-06T17:47:34.304Z] lf-activate-venv: SKIPPING [2022-12-06T17:47:34.304Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-117/1 [2022-12-06T17:47:34.304Z] INFO: archiving workspace using pattern(s): [2022-12-06T17:47:35.250Z] Archives upload complete. [2022-12-06T17:47:35.250Z] INFO: archiving logs to Nexus