Uploaded image for project: 'Opencast'
  1. Opencast
  2. MH-8757

YouTube unit tests produce a stack trace but pass anyway

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed and reviewed
    • Affects Version/s: 1.4.0
    • Fix Version/s: 1.4.0
    • Component/s: Backend Software
    • Labels:
      None
    • Severity:
      Build Error
    • Steps to Reproduce::
      Hide
      Steps to reproduce:
      1. Build matterhorn-distribution-youtube
       
      Actual Results:
      The build passes, but produces a stack trace
       
       
      Expected Results:
      The build passes without any problems
       
       Workaround (if any):
       





      Show
      Steps to reproduce: 1. Build matterhorn-distribution-youtube   Actual Results: The build passes, but produces a stack trace     Expected Results: The build passes without any problems    Workaround (if any):  
    • License:
      Assign copyright to opencast as per ECL 2.0
    • Code Snippet:
      Hide
      com.google.gdata.client.GoogleService$CaptchaRequiredException: Captcha required
      at com.google.gdata.client.GoogleAuthTokenFactory.getAuthException(GoogleAuthTokenFactory.java:623)
      at com.google.gdata.client.GoogleAuthTokenFactory.getAuthToken(GoogleAuthTokenFactory.java:500)
      at com.google.gdata.client.GoogleAuthTokenFactory.setUserCredentials(GoogleAuthTokenFactory.java:346)
      at com.google.gdata.client.GoogleService.setUserCredentials(GoogleService.java:362)
      at com.google.gdata.client.GoogleService.setUserCredentials(GoogleService.java:317)
      at com.google.gdata.client.GoogleService.setUserCredentials(GoogleService.java:301)
      at org.opencastproject.distribution.youtube.YoutubeDistributionService.distribute(YoutubeDistributionService.java:279)
      at org.opencastproject.distribution.youtube.YoutubeDistributionService.process(YoutubeDistributionService.java:503)
      at org.opencastproject.job.api.AbstractJobProducer$JobRunner.call(AbstractJobProducer.java:192)
      at org.opencastproject.job.api.AbstractJobProducer$JobRunner.call(AbstractJobProducer.java:157)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      Show
      com.google.gdata.client.GoogleService$CaptchaRequiredException: Captcha required at com.google.gdata.client.GoogleAuthTokenFactory.getAuthException(GoogleAuthTokenFactory.java:623) at com.google.gdata.client.GoogleAuthTokenFactory.getAuthToken(GoogleAuthTokenFactory.java:500) at com.google.gdata.client.GoogleAuthTokenFactory.setUserCredentials(GoogleAuthTokenFactory.java:346) at com.google.gdata.client.GoogleService.setUserCredentials(GoogleService.java:362) at com.google.gdata.client.GoogleService.setUserCredentials(GoogleService.java:317) at com.google.gdata.client.GoogleService.setUserCredentials(GoogleService.java:301) at org.opencastproject.distribution.youtube.YoutubeDistributionService.distribute(YoutubeDistributionService.java:279) at org.opencastproject.distribution.youtube.YoutubeDistributionService.process(YoutubeDistributionService.java:503) at org.opencastproject.job.api.AbstractJobProducer$JobRunner.call(AbstractJobProducer.java:192) at org.opencastproject.job.api.AbstractJobProducer$JobRunner.call(AbstractJobProducer.java:157) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    • Regression:
      Unknown
    • Tags (folksonomy):

      Gliffy Diagrams

        Issue Links

          Activity

          Hide
          greg_logan Greg Logan added a comment -
          Merged into trunk with rev 13348, 1.4.x with rev 13349.
          Show
          greg_logan Greg Logan added a comment - Merged into trunk with rev 13348, 1.4.x with rev 13349.

            People

            • Assignee:
              xavier.butty Xavier Butty
              Reporter:
              twunden Tobias Wunden
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: