You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@aurora.apache.org by "Joshua Cohen (JIRA)" <ji...@apache.org> on 2015/02/26 18:29:04 UTC

[jira] [Commented] (AURORA-1155) GC executor broken / Insufficient automated testing

    [ https://issues.apache.org/jira/browse/AURORA-1155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14338735#comment-14338735 ] 

Joshua Cohen commented on AURORA-1155:
--------------------------------------

I'm not able to reproduce this...

{noformat}
[tw-mbp-jcohen incubator-aurora (master)]$ git log -1
commit 938144cf792222354e0d79e8f1971b44fc89b0f5
Author: Bill Farner <wf...@apache.org>
Date:   Wed Feb 25 23:26:52 2015 -0800

    Only fetch host attributes once per preemption round.
    
    Bugs closed: AURORA-1153
    
    Reviewed at https://reviews.apache.org/r/31456/
[tw-mbp-jcohen incubator-aurora (master)]$ vagrant ssh -c "cd /home/vagrant/aurora && ./pants binary src/main/python/apache/aurora/executor/bin:gc_executor && dist/gc_executor.pex --help"
fatal: Not a git repository (or any of the parent directories): .git

17:26:42 00:00 [main]
               (To run a reporting server: ./pants server)
...
               SUCCESS
Options:
  -h, --help, --short-help
                        show this help message and exit.
  --long-help           show options from all registered modules, not just the
                        __main__ module.
Connection to 127.0.0.1 closed.
{noformat}

> GC executor broken / Insufficient automated testing
> ---------------------------------------------------
>
>                 Key: AURORA-1155
>                 URL: https://issues.apache.org/jira/browse/AURORA-1155
>             Project: Aurora
>          Issue Type: Bug
>            Reporter: Stephan Erb
>            Priority: Critical
>
> Last week, we deployed git revision e0e3f2e (https://github.com/apache/incubator-aurora/tree/e0e3f2e) onto our test cluster. 
> For this revision, all GC executor runs are failing:
> {code}
> WARNING: Logging before InitGoogleLogging() is written to STDERR
> I0224 15:00:23.165495 26402 fetcher.cpp:76] Fetching URI '/opt/thermos/bin/gc_executor.pex'
> I0224 15:00:23.165679 26402 fetcher.cpp:179] Copying resource from '/opt/thermos/bin/gc_executor.pex' to '/var/lib/mesos/slaves/20150218-102226-1985259712-5050-12423-S6/frameworks/20140919-174559-16842879-5050-27194-0000/executors/aurora.gc/runs/3f1813a3-76f7-4716-bd75-261d6187a2fc'
> Traceback (most recent call last):
>   File "/var/lib/mesos/slaves/20150218-102226-1985259712-5050-12423-S6/frameworks/20140919-174559-16842879-5050-27194-0000/executors/aurora.gc/runs/3f1813a3-76f7-4716-bd75-261d6187a2fc/gc_executor.pex/.bootstrap/_pex/pex.py", line 272, in execute
>     self.execute_entry(entry_point, args)
>   File "/var/lib/mesos/slaves/20150218-102226-1985259712-5050-12423-S6/frameworks/20140919-174559-16842879-5050-27194-0000/executors/aurora.gc/runs/3f1813a3-76f7-4716-bd75-261d6187a2fc/gc_executor.pex/.bootstrap/_pex/pex.py", line 320, in execute_entry
>     runner(entry_point)
>   File "/var/lib/mesos/slaves/20150218-102226-1985259712-5050-12423-S6/frameworks/20140919-174559-16842879-5050-27194-0000/executors/aurora.gc/runs/3f1813a3-76f7-4716-bd75-261d6187a2fc/gc_executor.pex/.bootstrap/_pex/pex.py", line 342, in execute_pkg_resources
>     runner = entry.load(require=False)  # trust that the environment is sane
>   File "/var/lib/mesos/slaves/20150218-102226-1985259712-5050-12423-S6/frameworks/20140919-174559-16842879-5050-27194-0000/executors/aurora.gc/runs/3f1813a3-76f7-4716-bd75-261d6187a2fc/gc_executor.pex/.bootstrap/pkg_resources.py", line 2048, in load
>     entry = __import__(self.module_name, globals(),globals(), ['__name__'])
>   File "/var/lib/mesos/slaves/20150218-102226-1985259712-5050-12423-S6/frameworks/20140919-174559-16842879-5050-27194-0000/executors/aurora.gc/runs/3f1813a3-76f7-4716-bd75-261d6187a2fc/gc_executor.pex/apache/aurora/executor/bin/gc_executor_main.py", line 27, in <module>
> ImportError: No module named executor_detector
> {code}
> For me this is an indication that the test infrastructure is missing an integration or end to end tests which thoroughly tests the GC executor.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)