Hi Alexander,

When I first tried to setup mesos, I used the "mesos-0.28.1.tar.gz" archive. I 
tried today again with the newer "mesos-0.28.2.tar.gz" version, but the same 
error occurred.
In order to setup mesos, I took the following steps:

1. Downloaded and unpacked archive to "mesos"
2. Installed all required packages
3. Executed the following commands:
$ cd mesos
$ mkdir build
$ cd build
$ ../configure
$ make
$ make check

The crash also happens on my second machine. However, both are Xubuntu 15.10 
systems and are configured pretty similar.

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 15.10
Release:        15.10
Codename:       wily

$ uname -a
Linux ARO 4.2.0-36-generic #42-Ubuntu SMP Thu May 12 22:05:35 UTC 2016 x86_64 
x86_64 x86_64 GNU/Linux

$ locale
LANG=en_US.UTF-8
LANGUAGE=en_US
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC=de_DE.UTF-8
LC_TIME=de_DE.UTF-8
LC_COLLATE="en_US.UTF-8"
LC_MONETARY=de_DE.UTF-8
LC_MESSAGES="en_US.UTF-8"
LC_PAPER=de_DE.UTF-8
LC_NAME=de_DE.UTF-8
LC_ADDRESS=de_DE.UTF-8
LC_TELEPHONE=de_DE.UTF-8
LC_MEASUREMENT=de_DE.UTF-8
LC_IDENTIFICATION=de_DE.UTF-8
LC_ALL=

If there is anything else I can help you with, let me know!

> Hey Dave,
> 
> I did assume there had to be something wrong with the locale. I spent a 
> fairly high amount of time unsuccessfully trying to reproduce the error. You 
> said you are using the instructions from the “getting started” page. Are you 
> using the clone repository or mesos-0.28.2.tar.gz option? Can you tell us 
> more about the system?
> 
> I tried with a new installation of Ubuntu 15.10 Server running in VirtualBox. 
> I installed in German and my locale is:
> 
> ```
> $ locale
> LANG=de_DE.UTF-8
> LANGUAGE=
> LC_CTYPE=de_DE.UTF-8
> LC_NUMERIC="de_DE.UTF-8"
> LC_TIME="de_DE.UTF-8"
> LC_COLLATE="de_DE.UTF-8"
> LC_MONETARY="de_DE.UTF-8"
> LC_MESSAGES="de_DE.UTF-8"
> LC_PAPER="de_DE.UTF-8"
> LC_NAME="de_DE.UTF-8"
> LC_ADDRESS="de_DE.UTF-8"
> LC_TELEPHONE="de_DE.UTF-8"
> LC_MEASUREMENT="de_DE.UTF-8"
> LC_IDENTIFICATION="de_DE.UTF-8"
> LC_ALL=
> ```
> 
> > On 07 Jun 2016, at 17:10, Dave Webb <[email protected]> wrote:
> > 
> > Hi Alexander,
> > 
> > this is a really good point!
> > 
> > My locale is a mix between the US and DE locale:
> > $ locale
> > LANG=en_US.UTF-8
> > LANGUAGE=en_US
> > LC_CTYPE="en_US.UTF-8"
> > LC_NUMERIC=de_DE.UTF-8
> > LC_TIME=de_DE.UTF-8
> > LC_COLLATE="en_US.UTF-8"
> > LC_MONETARY=de_DE.UTF-8
> > LC_MESSAGES="en_US.UTF-8"
> > LC_PAPER=de_DE.UTF-8
> > LC_NAME=de_DE.UTF-8
> > LC_ADDRESS=de_DE.UTF-8
> > LC_TELEPHONE=de_DE.UTF-8
> > LC_MEASUREMENT=de_DE.UTF-8
> > LC_IDENTIFICATION=de_DE.UTF-8
> > LC_ALL=
> > 
> > As far as I can tell, "LC_NUMERIC=de_DE.UTF-8" seems to be the culprit.
> > 
> > To test this, I set everything to "de_DE.UTF-8" except for LC_NUMERIC which 
> > I set to "en_US.UTF-8".
> > This resulted in "make check" running smoothly without any errors.
> > 
> > To cross check, I changed every variable to "en_US.UTF-8" and set 
> > LC_NUMERIC to "de_DE.UTF-8".
> > In this case, the error mentioned earlier occurred again.
> > 
> >> Hi Dave,
> >> 
> >> Looking at the output you give, A big thing pop into my mind, why are two 
> >> comas between different entries, but then I realized that your float 
> >> numbers are being printed as `7,2932352` instead of `7.2932352` (notice 
> >> the decimal separator). My feeling is that our JSON generator is not 
> >> locale independent.
> >> 
> >> @Dave: can you please tell us about the locale in your machine?
> >> @mpark: Can you take a look into it, since you know about the JSON 
> >> serializer?
> >> 
> >> 
> >>> On 29 May 2016, at 10:47, Dave Webb <[email protected]> wrote:
> >>> 
> >>> Hi, 
> >>> I tried to setup Mesos on my Ubuntu 15.10 machine using the exact 
> >>> commands shown on http://mesos.apache.org/gettingstarted/.
> >>> However, "make check" always crashes at the Testcase 
> >>> "MasterAuthorizationTest.SlaveRemoved". Up until this point, all previous 
> >>> tests run successfully.
> >>> 
> >>> This is the error message I got:
> >>> 
> >>> ...
> >>> [----------] 13 tests from MasterAuthorizationTest
> >>> [ RUN      ] MasterAuthorizationTest.AuthorizedTask
> >>> [       OK ] MasterAuthorizationTest.AuthorizedTask (115 ms)
> >>> [ RUN      ] MasterAuthorizationTest.UnauthorizedTask
> >>> [       OK ] MasterAuthorizationTest.UnauthorizedTask (116 ms)
> >>> [ RUN      ] MasterAuthorizationTest.KillTask
> >>> [       OK ] MasterAuthorizationTest.KillTask (112 ms)
> >>> [ RUN      ] MasterAuthorizationTest.SlaveRemoved
> >>> F0529 10:39:56.559432 19749 utils.cpp:55] CHECK_SOME(parse): syntax error 
> >>> at line 1 near: 
> >>> ,"frameworks\/test-principal\/messages_processed":1,,"frameworks\/test-principal\/messages_received":1,,"master\/cpus_percent":0,,"master\/cpus_revocable_percent":0,,"master\/cpus_revocable_total":0,,"master\/cpus_revocable_used":0,,"master\/cpus_total":0,,"master\/cpus_used":0,,"master\/disk_percent":0,,"master\/disk_revocable_percent":0,,"master\/disk_revocable_total":0,,"master\/disk_revocable_used":0,,"master\/disk_total":0,,"master\/disk_used":0,,"master\/dropped_messages":0,,"master\/elected":1,,"master\/event_queue_dispatches":0,,"master\/event_queue_http_requests":0,,"master\/event_queue_messages":0,,"master\/frameworks_active":1,,"master\/frameworks_connected":1,,"master\/frameworks_disconnected":0,,"master\/frameworks_inactive":0,,"master\/invalid_executor_to_framework_messages":0,,"master\/invalid_framework_to_executor_messages":0,,"master\/invalid_status_update_acknowledgements":0,,"master\/invalid_status_updates":0,,"master\/mem_percent":0,,"master\/mem_revocable_percent":0,,"master\/mem_revocable_total":0,,"master\/mem_revocable_used":0,,"master\/mem_total":0,,"master\/mem_used":0,,"master\/messages_authenticate":2,,"master\/messages_deactivate_framework":0,,"master\/messages_decline_offers":0,,"master\/messages_executor_to_framework":0,,"master\/messages_exited_executor":0,,"master\/messages_framework_to_executor":0,,"master\/messages_kill_task":0,,"master\/messages_launch_tasks":1,,"master\/messages_reconcile_tasks":0,,"master\/messages_register_framework":0,,"master\/messages_register_slave":1,,"master\/messages_reregister_framework":0,,"master\/messages_reregister_slave":0,,"master\/messages_resource_request":0,,"master\/messages_revive_offers":0,,"master\/messages_status_update":0,,"master\/messages_status_update_acknowledgement":0,,"master\/messages_suppress_offers":0,,"master\/messages_unregister_framework":0,,"master\/messages_unregister_slave":1,,"master\/messages_update_slave":1,,"master\/outstanding_offers":0,,"master\/recovery_slave_removals":0,,"master\/slave_registrations":1,,"master\/slave_removals":1,,"master\/slave_removals\/reason_registered":0,,"master\/slave_removals\/reason_unhealthy":0,,"master\/slave_removals\/reason_unregistered":1,,"master\/slave_reregistrations":0,,"master\/slave_shutdowns_canceled":0,,"master\/slave_shutdowns_completed":0,,"master\/slave_shutdowns_scheduled":0,,"master\/slaves_active":0,,"master\/slaves_connected":0,,"master\/slaves_disconnected":0,,"master\/slaves_inactive":0,,"master\/task_lost\/source_master\/reason_slave_removed":1,,"master\/tasks_error":0,,"master\/tasks_failed":0,,"master\/tasks_finished":0,,"master\/tasks_killed":0,,"master\/tasks_killing":0,,"master\/tasks_lost":1,,"master\/tasks_running":0,,"master\/tasks_staging":1,,"master\/tasks_starting":0,,"master\/uptime_secs":0,084369152,"master\/valid_executor_to_framework_messages":0,,"master\/valid_framework_to_executor_messages":0,,"master\/valid_status_update_acknowledgements":0,,"master\/valid_status_updates":0,,"registrar\/queued_operations":0,,"registrar\/registry_size_bytes":136,,"registrar\/state_fetch_ms":26,628096,"registrar\/state_store_ms":6,835968,"registrar\/state_store_ms\/count":3,"registrar\/state_store_ms\/max":7,308032,"registrar\/state_store_ms\/min":6,835968,"registrar\/state_store_ms\/p50":7,234048,"registrar\/state_store_ms\/p90":7,2932352,"registrar\/state_store_ms\/p95":7,3006336,"registrar\/state_store_ms\/p99":7,30655232,"registrar\/state_store_ms\/p999":7,307884032,"registrar\/state_store_ms\/p9999":7,3080172032,"scheduler\/event_queue_dispatches":0,,"scheduler\/event_queue_messages":0,,"system\/cpus_total":8,,"system\/load_15min":2,98,"system\/load_1min":1,02,"system\/load_5min":2,4,"system\/mem_free_bytes":2154786816,,"system\/mem_total_bytes":8368570368,}
> >>>  
> >>> *** Check failure stack trace: ***
> >>>   @     0x7f515eb58cbc  google::LogMessage::Fail()
> >>>   @     0x7f515eb58c00  google::LogMessage::SendToLog()
> >>>   @     0x7f515eb585d2  google::LogMessage::Flush()
> >>>   @     0x7f515eb5b7d4  google::LogMessageFatal::~LogMessageFatal()
> >>>   @           0xa4fd96  _CheckFatal::~_CheckFatal()
> >>>   @          0x1665659  mesos::internal::tests::Metrics()
> >>>   @           0xfeafc3  
> >>> mesos::internal::tests::MasterAuthorizationTest_SlaveRemoved_Test::TestBody()
> >>>   @          0x18c846a  
> >>> testing::internal::HandleSehExceptionsInMethodIfSupported<>()
> >>>   @          0x18c2e17  
> >>> testing::internal::HandleExceptionsInMethodIfSupported<>()
> >>>   @          0x18a12e4  testing::Test::Run()
> >>>   @          0x18a1b34  testing::TestInfo::Run()
> >>>   @          0x18a21cd  testing::TestCase::Run()
> >>>   @          0x18a9354  testing::internal::UnitTestImpl::RunAllTests()
> >>>   @          0x18c9203  
> >>> testing::internal::HandleSehExceptionsInMethodIfSupported<>()
> >>>   @          0x18c3a49  
> >>> testing::internal::HandleExceptionsInMethodIfSupported<>()
> >>>   @          0x18a7ef2  testing::UnitTest::Run()
> >>>   @           0xf2bb72  RUN_ALL_TESTS()
> >>>   @           0xf2b70a  main
> >>>   @     0x7f5158b13ac0  (unknown)
> >>>   @           0xa4e229  _start
> >>> Makefile:10386: recipe for target 'check-local' failed
> >>> make[3]: *** [check-local] Aborted (core dumped)
> >>> make[3]: Leaving directory '/opt/mesos-0.28.1/build/src'
> >>> Makefile:9724: recipe for target 'check-am' failed
> >>> make[2]: *** [check-am] Error 2
> >>> make[2]: Leaving directory '/opt/mesos-0.28.1/build/src'
> >>> Makefile:9728: recipe for target 'check' failed
> >>> make[1]: *** [check] Error 2
> >>> make[1]: Leaving directory '/opt/mesos-0.28.1/build/src'
> >>> Makefile:730: recipe for target 'check-recursive' failed
> >>> make: *** [check-recursive] Error 1
> >> 
> >> 
> 
>

Reply via email to