You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@royale.apache.org by Harbs <ha...@gmail.com> on 2022/01/05 05:44:53 UTC

Weird issue

All of the sudden the XML tests on my laptop started taking a REALLY LONG time. To the point where they are timing out.

The Basic tests run pretty quickly. I am clueless as to what changed.

Any ideas on what could have happened and/or how to figure it out?

Thanks,
Harbs

Re: Weird issue

Posted by Harbs <ha...@gmail.com>.
The problem was with junit too. Each test was taking 5+ seconds.

Seems like it was a dns lookup problem.
https://stackoverflow.com/questions/39636792/jvm-takes-a-long-time-to-resolve-ip-address-for-localhost

I fixed it by changing my hosts file:
127.0.0.1	localhost MacBook-Pro.local

Now it’s very fast.

Not sure why this suddenly turned up...

> On Jan 5, 2022, at 8:13 AM, Yishay Weiss <yi...@hotmail.com> wrote:
> 
> Maybe antivirus is stressed over log4j due to exposed [1] vulnerability?
> 
> [1] What is the log4j vulnerability and should I do anything to protect myself? - The Washington Post<https://www.washingtonpost.com/technology/2021/12/20/log4j-hack-vulnerability-java/>
> 
> From: Harbs<ma...@gmail.com>
> Sent: Wednesday, January 5, 2022 8:04 AM
> To: dev@royale.apache.org<ma...@royale.apache.org>
> Subject: Re: Weird issue
> 
> It’s slow when running both the swf tests and the js tests.
> 
> And it’s not just XML.
> 
> I don’t know if it’s related, but I’m getting this from royaleunit:
> [royaleunit] Setting up server process ...
> [royaleunit] SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
> [royaleunit] SLF4J: Defaulting to no-operation (NOP) logger implementation
> [royaleunit] SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
> [royaleunit] Starting server ...
> [royaleunit] Waiting for client connection ...
> 
>> On Jan 5, 2022, at 7:44 AM, Harbs <ha...@gmail.com> wrote:
>> 
>> All of the sudden the XML tests on my laptop started taking a REALLY LONG time. To the point where they are timing out.
>> 
>> The Basic tests run pretty quickly. I am clueless as to what changed.
>> 
>> Any ideas on what could have happened and/or how to figure it out?
>> 
>> Thanks,
>> Harbs
> 


RE: Weird issue

Posted by Yishay Weiss <yi...@hotmail.com>.
Maybe antivirus is stressed over log4j due to exposed [1] vulnerability?

[1] What is the log4j vulnerability and should I do anything to protect myself? - The Washington Post<https://www.washingtonpost.com/technology/2021/12/20/log4j-hack-vulnerability-java/>

From: Harbs<ma...@gmail.com>
Sent: Wednesday, January 5, 2022 8:04 AM
To: dev@royale.apache.org<ma...@royale.apache.org>
Subject: Re: Weird issue

It’s slow when running both the swf tests and the js tests.

And it’s not just XML.

I don’t know if it’s related, but I’m getting this from royaleunit:
[royaleunit] Setting up server process ...
[royaleunit] SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
[royaleunit] SLF4J: Defaulting to no-operation (NOP) logger implementation
[royaleunit] SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
[royaleunit] Starting server ...
[royaleunit] Waiting for client connection ...

> On Jan 5, 2022, at 7:44 AM, Harbs <ha...@gmail.com> wrote:
>
> All of the sudden the XML tests on my laptop started taking a REALLY LONG time. To the point where they are timing out.
>
> The Basic tests run pretty quickly. I am clueless as to what changed.
>
> Any ideas on what could have happened and/or how to figure it out?
>
> Thanks,
> Harbs


Re: Weird issue

Posted by Harbs <ha...@gmail.com>.
It’s slow when running both the swf tests and the js tests.

And it’s not just XML.

I don’t know if it’s related, but I’m getting this from royaleunit:
[royaleunit] Setting up server process ...
[royaleunit] SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
[royaleunit] SLF4J: Defaulting to no-operation (NOP) logger implementation
[royaleunit] SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
[royaleunit] Starting server ...
[royaleunit] Waiting for client connection ...

> On Jan 5, 2022, at 7:44 AM, Harbs <ha...@gmail.com> wrote:
> 
> All of the sudden the XML tests on my laptop started taking a REALLY LONG time. To the point where they are timing out.
> 
> The Basic tests run pretty quickly. I am clueless as to what changed.
> 
> Any ideas on what could have happened and/or how to figure it out?
> 
> Thanks,
> Harbs