Uploaded image for project: 'Aurora'
  1. Aurora
  2. AURORA-793

Client prints redundant messages

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • None
    • 0.6.0
    • Client, Usability
    • None
    • Twitter Aurora Q4 Sprint 3

    Description

      The client has a tendency to print the same message multiple times:

      Job configuration does not exist:

      $ aurora2 job create -v devcluster/www-data/devel/not_here /vagrant/hello_world.aurora
      log(info): Error executing command: Error loading configuration: [Errno 2] No such file or directory: '/vagrant/hello_world.aurora'
      log(info): Error executing command: Error loading configuration: [Errno 2] No such file or directory: '/vagrant/hello_world.aurora'
      Error executing command: Error loading configuration: [Errno 2] No such file or directory: '/vagrant/hello_world.aurora'
      

      Job already exists:

      $ aurora2 job create -v devcluster/www-data/devel/hello_world /vagrant/hello_world.aurora
      log(info): Creating job hello_world
      log(info): Creating job hello_world
      log(info): Starting new HTTP connection (1): vagrant-ubuntu-trusty-64
      log(info): Starting new HTTP connection (1): vagrant-ubuntu-trusty-64
      log(info): Starting new HTTP connection (1): vagrant-ubuntu-trusty-64
      log(info): Starting new HTTP connection (1): vagrant-ubuntu-trusty-64
      log(info): Message from scheduler: Job already exists: www-data/devel/hello_world
      log(info): Message from scheduler: Job already exists: www-data/devel/hello_world
      job create failed because job not found
      log(info): Error executing command: Job not found
      log(info): Error executing command: Job not found
      Error executing command: Job not found
      

      Referenced job name does not exist:

      $ aurora2 job create -v devcluster/www-data/devel/not_here /vagrant/hello_world.aurora
      log(info): Error executing command: Error loading configuration: Could not find job devcluster/www-data/devel/not_here
      Candidates are:
        devcluster/www-data/devel/hello_world
      log(info): Error executing command: Error loading configuration: Could not find job devcluster/www-data/devel/not_here
      Candidates are:
        devcluster/www-data/devel/hello_world
      Error executing command: Error loading configuration: Could not find job devcluster/www-data/devel/not_here
      Candidates are:
        devcluster/www-data/devel/hello_world
      

      Python error in job configuration:

      $ aurora2 job create -v devcluster/www-data/devel/not_here /vagrant/hello_world.aurora
      log(info): Error executing command: Error loading configuration: [Errno 2] No such file or directory: '/vagrant/hello_world.py'
      log(info): Error executing command: Error loading configuration: [Errno 2] No such file or directory: '/vagrant/hello_world.py'
      Error executing command: Error loading configuration: [Errno 2] No such file or directory: '/vagrant/hello_world.py'
      

      Attachments

        Issue Links

          Activity

            People

              zmanji Zameer Manji
              wfarner Bill Farner
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: