Mailing List Archive

[clamav-users] clamav-0.102.1 error
LS,

I get the next report (all systems):
  /configure: line 30094: auto=yes: command not found

Also, check_clamav failed on 2 different systems (openSUSE 15.1). It did
not failed on openSUSE Tumbleweed.

--- Frans.



_______________________________________________

clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml
Re: [clamav-users] clamav-0.102.1 error [ In reply to ]
Hi Frans,

We also recently learned of the auto=yes or yes=yes "command not found" issue. It should still build and function correctly, despite the bug. We'll get that fixed in dev/0.103.

Can you email me the test-suite.log file for the openSUSE 15.1 check failures? It may shed some light on what the issue is. We do see occasional check timeout failures in our build system but haven't seen any real failures with make check otherwise.

-Micah

?On 11/21/19, 2:44 PM, "clamav-users on behalf of Frans de Boer" <clamav-users-bounces@lists.clamav.net on behalf of frans@fransdb.nl> wrote:

LS,

I get the next report (all systems):
/configure: line 30094: auto=yes: command not found

Also, check_clamav failed on 2 different systems (openSUSE 15.1). It did
not failed on openSUSE Tumbleweed.

--- Frans.



_______________________________________________

clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml



_______________________________________________

clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml
Re: [clamav-users] clamav-0.102.1 error [ In reply to ]
Citeren Frans de Boer <frans@fransdb.nl>:

> LS,
>
> I get the next report (all systems):
>   /configure: line 30094: auto=yes: command not found
>
> Also, check_clamav failed on 2 different systems (openSUSE 15.1). It
> did not failed on openSUSE Tumbleweed.

Can't replicate. See
https://build.opensuse.org/project/show/home:adkorte:branches:security/clamav

> --- Frans.
>
>
>
> _______________________________________________
>
> clamav-users mailing list
> clamav-users@lists.clamav.net
> https://lists.clamav.net/mailman/listinfo/clamav-users
>
>
> Help us build a comprehensive ClamAV guide:
> https://github.com/vrtadmin/clamav-faq
>
> http://www.clamav.net/contact.html#ml




_______________________________________________

clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml
Re: [clamav-users] clamav-0.102.1 error [ In reply to ]
On 21-11-2019 20:44, Frans de Boer wrote:
> LS,
>
> I get the next report (all systems):
>   /configure: line 30094: auto=yes: command not found
>
> Also, check_clamav failed on 2 different systems (openSUSE 15.1). It
> did not failed on openSUSE Tumbleweed.
>
> --- Frans.
>
>
>
> _______________________________________________
>
> clamav-users mailing list
> clamav-users@lists.clamav.net
> https://lists.clamav.net/mailman/listinfo/clamav-users
>
>
> Help us build a comprehensive ClamAV guide:
> https://github.com/vrtadmin/clamav-faq
>
> http://www.clamav.net/contact.html#ml

Forgot to mention the log content:

FAIL: check_clamav
==================

Using default test timeout; alter by setting 'T' env var (in seconds)
Running suite(s): cl_api
 cli
 jsnorm
 str
 regex
 disasm
 unique
 matchers
 htmlnorm
 bytecode
99%: Checks: 989, Failures: 1, Errors: 0
../../clamav-0.102.1/unit_tests/check_clamav.c:90:F:cl_dup:test_cl_retver:0:
cl_retver
NOTICE: Use the 'T' environment variable to adjust testcase timeout
FAIL check_clamav (exit status: 1)

It is a Phenom II at 3.7 GHz and no other processes taking much time.

-- Frans.


_______________________________________________

clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml
Re: [clamav-users] clamav-0.102.1 error [ In reply to ]
> On 21. Nov 2019, at 22:00, Micah Snyder (micasnyd) via clamav-users <clamav-users@lists.

> We do see occasional check timeout failures in our build system but haven't seen any real failures with make check otherwise.

I’m getting intermittent test failures on CentOS 7 as well. Very annoying having to chance the tests when rebuilding an RPM.

Reio

_______________________________________________

clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml
Re: [clamav-users] clamav-0.102.1 error [ In reply to ]
On 21-11-2019 21:10, Reio Remma via clamav-users wrote:
>
>> On 21. Nov 2019, at 22:00, Micah Snyder (micasnyd) via clamav-users <clamav-users@lists.
>> We do see occasional check timeout failures in our build system but haven't seen any real failures with make check otherwise.
> I’m getting intermittent test failures on CentOS 7 as well. Very annoying having to chance the tests when rebuilding an RPM.
>
> Reio
>
> _______________________________________________
>
> clamav-users mailing list
> clamav-users@lists.clamav.net
> https://lists.clamav.net/mailman/listinfo/clamav-users
>
>
> Help us build a comprehensive ClamAV guide:
> https://github.com/vrtadmin/clamav-faq
>
> http://www.clamav.net/contact.html#ml

The same test on a faster machine (XEON based) completes without error.
So, the 'T' parameter seems to be needed when having a system that is
not so fast as the latest CPU's. But, no idea what that parameter should be.

--- Frans.


_______________________________________________

clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml
Re: [clamav-users] clamav-0.102.1 error [ In reply to ]
On 21-11-2019 21:08, Frans de Boer wrote:
> On 21-11-2019 20:44, Frans de Boer wrote:
>> LS,
>>
>> I get the next report (all systems):
>>   /configure: line 30094: auto=yes: command not found
>>
>> Also, check_clamav failed on 2 different systems (openSUSE 15.1). It
>> did not failed on openSUSE Tumbleweed.
>>
>> --- Frans.
>>
>>
>>
>> _______________________________________________
>>
>> clamav-users mailing list
>> clamav-users@lists.clamav.net
>> https://lists.clamav.net/mailman/listinfo/clamav-users
>>
>>
>> Help us build a comprehensive ClamAV guide:
>> https://github.com/vrtadmin/clamav-faq
>>
>> http://www.clamav.net/contact.html#ml
>
> Forgot to mention the log content:
>
> FAIL: check_clamav
> ==================
>
> Using default test timeout; alter by setting 'T' env var (in seconds)
> Running suite(s): cl_api
>  cli
>  jsnorm
>  str
>  regex
>  disasm
>  unique
>  matchers
>  htmlnorm
>  bytecode
> 99%: Checks: 989, Failures: 1, Errors: 0
> ../../clamav-0.102.1/unit_tests/check_clamav.c:90:F:cl_dup:test_cl_retver:0:
> cl_retver
> NOTICE: Use the 'T' environment variable to adjust testcase timeout
> FAIL check_clamav (exit status: 1)
>
> It is a Phenom II at 3.7 GHz and no other processes taking much time.
>
> -- Frans.
>
Tried export T=30/300/3000, but failure still comes within 10-15
seconds. So, T does nothing here.

--- Frans.


_______________________________________________

clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml
Re: [clamav-users] clamav-0.102.1 error - Update [ In reply to ]
On 2019-11-22 10:28, Frans de Boer wrote:
> On 21-11-2019 21:08, Frans de Boer wrote:
>> On 21-11-2019 20:44, Frans de Boer wrote:
>>> LS,
>>>
>>> I get the next report (all systems):
>>>   /configure: line 30094: auto=yes: command not found
>>>
>>> Also, check_clamav failed on 2 different systems (openSUSE 15.1). It
>>> did not failed on openSUSE Tumbleweed.
>>>
>>> --- Frans.
>>>
>>>
>>>
>>> _______________________________________________
>>>
>>> clamav-users mailing list
>>> clamav-users@lists.clamav.net
>>> https://lists.clamav.net/mailman/listinfo/clamav-users
>>>
>>>
>>> Help us build a comprehensive ClamAV guide:
>>> https://github.com/vrtadmin/clamav-faq
>>>
>>> http://www.clamav.net/contact.html#ml
>>
>> Forgot to mention the log content:
>>
>> FAIL: check_clamav
>> ==================
>>
>> Using default test timeout; alter by setting 'T' env var (in seconds)
>> Running suite(s): cl_api
>>  cli
>>  jsnorm
>>  str
>>  regex
>>  disasm
>>  unique
>>  matchers
>>  htmlnorm
>>  bytecode
>> 99%: Checks: 989, Failures: 1, Errors: 0
>> ../../clamav-0.102.1/unit_tests/check_clamav.c:90:F:cl_dup:test_cl_retver:0:
>> cl_retver
>> NOTICE: Use the 'T' environment variable to adjust testcase timeout
>> FAIL check_clamav (exit status: 1)
>>
>> It is a Phenom II at 3.7 GHz and no other processes taking much time.
>>
>> -- Frans.
>>
> Tried export T=30/300/3000, but failure still comes within 10-15
> seconds. So, T does nothing here.
>
> --- Frans.
>
>
> _______________________________________________
>
> clamav-users mailing list
> clamav-users@lists.clamav.net
> https://lists.clamav.net/mailman/listinfo/clamav-users
>
>
> Help us build a comprehensive ClamAV guide:
> https://github.com/vrtadmin/clamav-faq
>
> http://www.clamav.net/contact.html#ml

On all my systems using openSUSE Tumbleweed, all tests work as expected.
Alas, under openSUSE 15.1 - with it's mostly antiquated software -,
which is their newest "recent" stable distribution, does the test
"check_clamav" fails. This applies both to clamav-0.102.0 and .1. The
clamav-0.101.x series have no such problem.

Regards, Frans.


_______________________________________________

clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml
Re: [clamav-users] clamav-0.102.1 error [ In reply to ]
This is the same infrequent check failure we've observed. On our test systems, this only seems to occur when the ESX infrastructure is under heavy use (like when there are VM migrations, etc).

It looks like an oversight in our implementation of the 'check' based test suite. The 'T' environment variable only appears to affect the timeout for the "tc_cl_scan" tests in check_clamav.c: https://github.com/Cisco-Talos/clamav-devel/blob/dev/0.103/unit_tests/check_clamav.c#L706 All other tests either use default (4 seconds) or have the timeout hardcoded to 20 seconds.

It should be trivial to make the 'T' environment variable work everywhere, and to increase the timeout from 4 seconds for the "tc_cl" tests where you're seeing the error (https://github.com/Cisco-Talos/clamav-devel/blob/dev/0.103/unit_tests/check_clamav.c#L667).

As a side note, I wish to get away from using 'check' and switch to something like googletest, ctest, and/or cunit as we also migrate to cmake.

-Micah

?On 11/22/19, 4:29 AM, "clamav-users on behalf of Frans de Boer" <clamav-users-bounces@lists.clamav.net on behalf of frans@fransdb.nl> wrote:

On 21-11-2019 21:08, Frans de Boer wrote:
> On 21-11-2019 20:44, Frans de Boer wrote:
>> LS,
>>
>> I get the next report (all systems):
>> /configure: line 30094: auto=yes: command not found
>>
>> Also, check_clamav failed on 2 different systems (openSUSE 15.1). It
>> did not failed on openSUSE Tumbleweed.
>>
>> --- Frans.
>>
>>
>>
>> _______________________________________________
>>
>> clamav-users mailing list
>> clamav-users@lists.clamav.net
>> https://lists.clamav.net/mailman/listinfo/clamav-users
>>
>>
>> Help us build a comprehensive ClamAV guide:
>> https://github.com/vrtadmin/clamav-faq
>>
>> http://www.clamav.net/contact.html#ml
>
> Forgot to mention the log content:
>
> FAIL: check_clamav
> ==================
>
> Using default test timeout; alter by setting 'T' env var (in seconds)
> Running suite(s): cl_api
> cli
> jsnorm
> str
> regex
> disasm
> unique
> matchers
> htmlnorm
> bytecode
> 99%: Checks: 989, Failures: 1, Errors: 0
> ../../clamav-0.102.1/unit_tests/check_clamav.c:90:F:cl_dup:test_cl_retver:0:
> cl_retver
> NOTICE: Use the 'T' environment variable to adjust testcase timeout
> FAIL check_clamav (exit status: 1)
>
> It is a Phenom II at 3.7 GHz and no other processes taking much time.
>
> -- Frans.
>
Tried export T=30/300/3000, but failure still comes within 10-15
seconds. So, T does nothing here.

--- Frans.


_______________________________________________

clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml



_______________________________________________

clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml
Re: [clamav-users] clamav-0.102.1 error [ In reply to ]
On 2019-11-22 20:18, Micah Snyder (micasnyd) via clamav-users wrote:
> This is the same infrequent check failure we've observed. On our test systems, this only seems to occur when the ESX infrastructure is under heavy use (like when there are VM migrations, etc).
>
> It looks like an oversight in our implementation of the 'check' based test suite. The 'T' environment variable only appears to affect the timeout for the "tc_cl_scan" tests in check_clamav.c: https://github.com/Cisco-Talos/clamav-devel/blob/dev/0.103/unit_tests/check_clamav.c#L706 All other tests either use default (4 seconds) or have the timeout hardcoded to 20 seconds.
>
> It should be trivial to make the 'T' environment variable work everywhere, and to increase the timeout from 4 seconds for the "tc_cl" tests where you're seeing the error (https://github.com/Cisco-Talos/clamav-devel/blob/dev/0.103/unit_tests/check_clamav.c#L667).
>
> As a side note, I wish to get away from using 'check' and switch to something like googletest, ctest, and/or cunit as we also migrate to cmake.
>
> -Micah
>
> ?On 11/22/19, 4:29 AM, "clamav-users on behalf of Frans de Boer" <clamav-users-bounces@lists.clamav.net on behalf of frans@fransdb.nl> wrote:
>
> On 21-11-2019 21:08, Frans de Boer wrote:
> > On 21-11-2019 20:44, Frans de Boer wrote:
> >> LS,
> >>
> >> I get the next report (all systems):
> >> /configure: line 30094: auto=yes: command not found
> >>
> >> Also, check_clamav failed on 2 different systems (openSUSE 15.1). It
> >> did not failed on openSUSE Tumbleweed.
> >>
> >> --- Frans.
> >>
> >>
> >>
> >> _______________________________________________
> >>
> >> clamav-users mailing list
> >> clamav-users@lists.clamav.net
> >> https://lists.clamav.net/mailman/listinfo/clamav-users
> >>
> >>
> >> Help us build a comprehensive ClamAV guide:
> >> https://github.com/vrtadmin/clamav-faq
> >>
> >> http://www.clamav.net/contact.html#ml
> >
> > Forgot to mention the log content:
> >
> > FAIL: check_clamav
> > ==================
> >
> > Using default test timeout; alter by setting 'T' env var (in seconds)
> > Running suite(s): cl_api
> > cli
> > jsnorm
> > str
> > regex
> > disasm
> > unique
> > matchers
> > htmlnorm
> > bytecode
> > 99%: Checks: 989, Failures: 1, Errors: 0
> > ../../clamav-0.102.1/unit_tests/check_clamav.c:90:F:cl_dup:test_cl_retver:0:
> > cl_retver
> > NOTICE: Use the 'T' environment variable to adjust testcase timeout
> > FAIL check_clamav (exit status: 1)
> >
> > It is a Phenom II at 3.7 GHz and no other processes taking much time.
> >
> > -- Frans.
> >
> Tried export T=30/300/3000, but failure still comes within 10-15
> seconds. So, T does nothing here.
>
> --- Frans.
>
>
> _______________________________________________
>
> clamav-users mailing list
> clamav-users@lists.clamav.net
> https://lists.clamav.net/mailman/listinfo/clamav-users
>
>
> Help us build a comprehensive ClamAV guide:
> https://github.com/vrtadmin/clamav-faq
>
> http://www.clamav.net/contact.html#ml
>
>
>
> _______________________________________________
>
> clamav-users mailing list
> clamav-users@lists.clamav.net
> https://lists.clamav.net/mailman/listinfo/clamav-users
>
>
> Help us build a comprehensive ClamAV guide:
> https://github.com/vrtadmin/clamav-faq
>
> http://www.clamav.net/contact.html#ml

I tried openSUSE 15.1 and Tumbleweed on the same systems. Also, made
sure no other processes where running.
This rules out systems under stress as well as different hardware. So,
the only difference was the OS and the used compiler/libraries.

Frans


_______________________________________________

clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml