Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: ClamAV: devel

One more problem on unit tests at freebsd 9

 

 

ClamAV devel RSS feed   Index | Next | Previous | View Threaded


rbgarga at gmail

Mar 11, 2010, 11:54 AM

Post #1 of 9 (2195 views)
Permalink
One more problem on unit tests at freebsd 9

A FreeBSD user contacted me reporting a problem building clamav
under FreeBSD 9. I reproduced it locally, using 20100308 snapshot:

[----------] 3 tests from JITEventListenerTest
[ RUN ] JITEventListenerTest.Simple
[ OK ] JITEventListenerTest.Simple
[ RUN ] JITEventListenerTest.MultipleListenersDontInterfere
[ OK ] JITEventListenerTest.MultipleListenersDontInterfere
[ RUN ] JITEventListenerTest.MatchesMachineCodeInfo
[ OK ] JITEventListenerTest.MatchesMachineCodeInfo
[----------] Global test environment tear-down
[==========] 17 tests from 4 test cases ran.
[ PASSED ] 17 tests.
PASS: llvmunittest_JIT
./llvmcheck.sh: not found
FAIL: llvmcheck.sh
=======================================
1 of 6 tests failed
Please report to http://bugs.clamav.net
=======================================
*** Error code 1

Stop in /usr/ports/security/clamav-devel/work/clamav-devel-20100308/libclamav/c++.
*** Error code 1

Stop in /usr/ports/security/clamav-devel/work/clamav-devel-20100308/libclamav/c++.
*** Error code 1

Stop in /usr/ports/security/clamav-devel/work/clamav-devel-20100308/libclamav/c++.
*** Error code 1

Stop in /usr/ports/security/clamav-devel/work/clamav-devel-20100308/libclamav.
*** Error code 1

Stop in /usr/ports/security/clamav-devel/work/clamav-devel-20100308/libclamav.
*** Error code 1

Stop in /usr/ports/security/clamav-devel/work/clamav-devel-20100308.
*** Error code 1

Stop in /usr/ports/security/clamav-devel.
*** Error code 1


--
Renato Botelho
_______________________________________________
http://lurker.clamav.net/list/clamav-devel.html
Please submit your patches to our Bugzilla: http://bugs.clamav.net


rbgarga at gmail

Mar 11, 2010, 11:57 AM

Post #2 of 9 (2102 views)
Permalink
Re: One more problem on unit tests at freebsd 9 [In reply to]

On Thu, Mar 11, 2010 at 4:54 PM, Renato Botelho <rbgarga [at] gmail> wrote:
> A FreeBSD user contacted me reporting a problem building clamav
> under FreeBSD 9. I reproduced it locally, using 20100308 snapshot:
>
> [----------] 3 tests from JITEventListenerTest
> [ RUN      ] JITEventListenerTest.Simple
> [       OK ] JITEventListenerTest.Simple
> [ RUN      ] JITEventListenerTest.MultipleListenersDontInterfere
> [       OK ] JITEventListenerTest.MultipleListenersDontInterfere
> [ RUN      ] JITEventListenerTest.MatchesMachineCodeInfo
> [       OK ] JITEventListenerTest.MatchesMachineCodeInfo
> [----------] Global test environment tear-down
> [==========] 17 tests from 4 test cases ran.
> [  PASSED  ] 17 tests.
> PASS: llvmunittest_JIT
> ./llvmcheck.sh: not found

FYI, file is there:

./work/clamav-devel-20100308/libclamav/c++/llvmcheck.sh

--
Renato Botelho
_______________________________________________
http://lurker.clamav.net/list/clamav-devel.html
Please submit your patches to our Bugzilla: http://bugs.clamav.net


edwintorok at gmail

Mar 11, 2010, 12:02 PM

Post #3 of 9 (2103 views)
Permalink
Re: One more problem on unit tests at freebsd 9 [In reply to]

On 03/11/2010 09:57 PM, Renato Botelho wrote:
> On Thu, Mar 11, 2010 at 4:54 PM, Renato Botelho <rbgarga [at] gmail> wrote:
>> A FreeBSD user contacted me reporting a problem building clamav
>> under FreeBSD 9. I reproduced it locally, using 20100308 snapshot:
>>
>> [----------] 3 tests from JITEventListenerTest
>> [ RUN ] JITEventListenerTest.Simple
>> [ OK ] JITEventListenerTest.Simple
>> [ RUN ] JITEventListenerTest.MultipleListenersDontInterfere
>> [ OK ] JITEventListenerTest.MultipleListenersDontInterfere
>> [ RUN ] JITEventListenerTest.MatchesMachineCodeInfo
>> [ OK ] JITEventListenerTest.MatchesMachineCodeInfo
>> [----------] Global test environment tear-down
>> [==========] 17 tests from 4 test cases ran.
>> [ PASSED ] 17 tests.
>> PASS: llvmunittest_JIT
>> ./llvmcheck.sh: not found
>
> FYI, file is there:
>
> ./work/clamav-devel-20100308/libclamav/c++/llvmcheck.sh
>

Seems like this bug:
https://wwws.clamav.net/bugzilla/show_bug.cgi?id=1876

Does my suggestion here fix it?
https://wwws.clamav.net/bugzilla/show_bug.cgi?id=1876#c2

Best regards,
--Edwin
_______________________________________________
http://lurker.clamav.net/list/clamav-devel.html
Please submit your patches to our Bugzilla: http://bugs.clamav.net


rbgarga at gmail

Mar 11, 2010, 12:06 PM

Post #4 of 9 (2097 views)
Permalink
Re: One more problem on unit tests at freebsd 9 [In reply to]

2010/3/11 Török Edwin <edwintorok [at] gmail>:
> On 03/11/2010 09:57 PM, Renato Botelho wrote:
>> On Thu, Mar 11, 2010 at 4:54 PM, Renato Botelho <rbgarga [at] gmail> wrote:
>>> A FreeBSD user contacted me reporting a problem building clamav
>>> under FreeBSD 9. I reproduced it locally, using 20100308 snapshot:
>>>
>>> [----------] 3 tests from JITEventListenerTest
>>> [ RUN      ] JITEventListenerTest.Simple
>>> [       OK ] JITEventListenerTest.Simple
>>> [ RUN      ] JITEventListenerTest.MultipleListenersDontInterfere
>>> [       OK ] JITEventListenerTest.MultipleListenersDontInterfere
>>> [ RUN      ] JITEventListenerTest.MatchesMachineCodeInfo
>>> [       OK ] JITEventListenerTest.MatchesMachineCodeInfo
>>> [----------] Global test environment tear-down
>>> [==========] 17 tests from 4 test cases ran.
>>> [  PASSED  ] 17 tests.
>>> PASS: llvmunittest_JIT
>>> ./llvmcheck.sh: not found
>>
>> FYI, file is there:
>>
>> ./work/clamav-devel-20100308/libclamav/c++/llvmcheck.sh
>>
>
> Seems like this bug:
> https://wwws.clamav.net/bugzilla/show_bug.cgi?id=1876
>
> Does my suggestion here fix it?
> https://wwws.clamav.net/bugzilla/show_bug.cgi?id=1876#c2

bingo! I don't have bash installed, s/bash/sh fixed it.

--
Renato Botelho
_______________________________________________
http://lurker.clamav.net/list/clamav-devel.html
Please submit your patches to our Bugzilla: http://bugs.clamav.net


edwintorok at gmail

Mar 11, 2010, 12:08 PM

Post #5 of 9 (2099 views)
Permalink
Re: One more problem on unit tests at freebsd 9 [In reply to]

On 03/11/2010 10:06 PM, Renato Botelho wrote:
> 2010/3/11 Török Edwin <edwintorok [at] gmail>:
>> On 03/11/2010 09:57 PM, Renato Botelho wrote:
>>> On Thu, Mar 11, 2010 at 4:54 PM, Renato Botelho <rbgarga [at] gmail> wrote:
>>>> A FreeBSD user contacted me reporting a problem building clamav
>>>> under FreeBSD 9. I reproduced it locally, using 20100308 snapshot:
>>>>
>>>> [----------] 3 tests from JITEventListenerTest
>>>> [ RUN ] JITEventListenerTest.Simple
>>>> [ OK ] JITEventListenerTest.Simple
>>>> [ RUN ] JITEventListenerTest.MultipleListenersDontInterfere
>>>> [ OK ] JITEventListenerTest.MultipleListenersDontInterfere
>>>> [ RUN ] JITEventListenerTest.MatchesMachineCodeInfo
>>>> [ OK ] JITEventListenerTest.MatchesMachineCodeInfo
>>>> [----------] Global test environment tear-down
>>>> [==========] 17 tests from 4 test cases ran.
>>>> [ PASSED ] 17 tests.
>>>> PASS: llvmunittest_JIT
>>>> ./llvmcheck.sh: not found
>>> FYI, file is there:
>>>
>>> ./work/clamav-devel-20100308/libclamav/c++/llvmcheck.sh
>>>
>> Seems like this bug:
>> https://wwws.clamav.net/bugzilla/show_bug.cgi?id=1876
>>
>> Does my suggestion here fix it?
>> https://wwws.clamav.net/bugzilla/show_bug.cgi?id=1876#c2
>
> bingo! I don't have bash installed, s/bash/sh fixed it.
>

Good, I pushed the fix already.
Does make check pass now?

Best regards,
--Edwin
_______________________________________________
http://lurker.clamav.net/list/clamav-devel.html
Please submit your patches to our Bugzilla: http://bugs.clamav.net


rbgarga at gmail

Mar 11, 2010, 12:17 PM

Post #6 of 9 (2094 views)
Permalink
Re: One more problem on unit tests at freebsd 9 [In reply to]

2010/3/11 Török Edwin <edwintorok [at] gmail>:
> On 03/11/2010 10:06 PM, Renato Botelho wrote:
>> 2010/3/11 Török Edwin <edwintorok [at] gmail>:
>>> On 03/11/2010 09:57 PM, Renato Botelho wrote:
>>>> On Thu, Mar 11, 2010 at 4:54 PM, Renato Botelho <rbgarga [at] gmail> wrote:
>>>>> A FreeBSD user contacted me reporting a problem building clamav
>>>>> under FreeBSD 9. I reproduced it locally, using 20100308 snapshot:
>>>>>
>>>>> [----------] 3 tests from JITEventListenerTest
>>>>> [ RUN      ] JITEventListenerTest.Simple
>>>>> [       OK ] JITEventListenerTest.Simple
>>>>> [ RUN      ] JITEventListenerTest.MultipleListenersDontInterfere
>>>>> [       OK ] JITEventListenerTest.MultipleListenersDontInterfere
>>>>> [ RUN      ] JITEventListenerTest.MatchesMachineCodeInfo
>>>>> [       OK ] JITEventListenerTest.MatchesMachineCodeInfo
>>>>> [----------] Global test environment tear-down
>>>>> [==========] 17 tests from 4 test cases ran.
>>>>> [  PASSED  ] 17 tests.
>>>>> PASS: llvmunittest_JIT
>>>>> ./llvmcheck.sh: not found
>>>> FYI, file is there:
>>>>
>>>> ./work/clamav-devel-20100308/libclamav/c++/llvmcheck.sh
>>>>
>>> Seems like this bug:
>>> https://wwws.clamav.net/bugzilla/show_bug.cgi?id=1876
>>>
>>> Does my suggestion here fix it?
>>> https://wwws.clamav.net/bugzilla/show_bug.cgi?id=1876#c2
>>
>> bingo! I don't have bash installed, s/bash/sh fixed it.
>>
>
> Good, I pushed the fix already.
> Does make check pass now?

It's stopped in 15% for about 10 minutes now...

15% [================================-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------]
LLVM :: CodeGen/ARM/weak2.ll

waiting....

--
Renato Botelho
_______________________________________________
http://lurker.clamav.net/list/clamav-devel.html
Please submit your patches to our Bugzilla: http://bugs.clamav.net


rbgarga at gmail

Mar 11, 2010, 12:31 PM

Post #7 of 9 (2096 views)
Permalink
Re: One more problem on unit tests at freebsd 9 [In reply to]

On Thu, Mar 11, 2010 at 5:17 PM, Renato Botelho <rbgarga [at] gmail> wrote:
> 2010/3/11 Török Edwin <edwintorok [at] gmail>:
>> On 03/11/2010 10:06 PM, Renato Botelho wrote:
>>> 2010/3/11 Török Edwin <edwintorok [at] gmail>:
>>>> On 03/11/2010 09:57 PM, Renato Botelho wrote:
>>>>> On Thu, Mar 11, 2010 at 4:54 PM, Renato Botelho <rbgarga [at] gmail> wrote:
>>>>>> A FreeBSD user contacted me reporting a problem building clamav
>>>>>> under FreeBSD 9. I reproduced it locally, using 20100308 snapshot:
>>>>>>
>>>>>> [----------] 3 tests from JITEventListenerTest
>>>>>> [ RUN      ] JITEventListenerTest.Simple
>>>>>> [       OK ] JITEventListenerTest.Simple
>>>>>> [ RUN      ] JITEventListenerTest.MultipleListenersDontInterfere
>>>>>> [       OK ] JITEventListenerTest.MultipleListenersDontInterfere
>>>>>> [ RUN      ] JITEventListenerTest.MatchesMachineCodeInfo
>>>>>> [       OK ] JITEventListenerTest.MatchesMachineCodeInfo
>>>>>> [----------] Global test environment tear-down
>>>>>> [==========] 17 tests from 4 test cases ran.
>>>>>> [  PASSED  ] 17 tests.
>>>>>> PASS: llvmunittest_JIT
>>>>>> ./llvmcheck.sh: not found
>>>>> FYI, file is there:
>>>>>
>>>>> ./work/clamav-devel-20100308/libclamav/c++/llvmcheck.sh
>>>>>
>>>> Seems like this bug:
>>>> https://wwws.clamav.net/bugzilla/show_bug.cgi?id=1876
>>>>
>>>> Does my suggestion here fix it?
>>>> https://wwws.clamav.net/bugzilla/show_bug.cgi?id=1876#c2
>>>
>>> bingo! I don't have bash installed, s/bash/sh fixed it.
>>>
>>
>> Good, I pushed the fix already.
>> Does make check pass now?
>
> It's stopped in 15% for about 10 minutes now...
>
>  15% [================================-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------]
> LLVM :: CodeGen/ARM/weak2.ll
>
> waiting....

I needed to stop and start again, now I got this:

FAIL: LLVM :: CodeGen/X86/bswap-inline-asm.ll (1340 of 2135)
******************** TEST 'LLVM :: CodeGen/X86/bswap-inline-asm.ll'
FAILED ********************
Script:
--
llc < /usr/ports/security/clamav-devel/work/clamav-devel-20100308/libclamav/c++/llvm/test/CodeGen/X86/bswap-inline-asm.ll
-march=x86-64 >
/usr/ports/security/clamav-devel/work/clamav-devel-20100308/libclamav/c++/llvm/test/CodeGen/X86/Output/bswap-inline-asm.ll.tmp
not grep APP /usr/ports/security/clamav-devel/work/clamav-devel-20100308/libclamav/c++/llvm/test/CodeGen/X86/Output/bswap-inline-asm.ll.tmp
FileCheck /usr/ports/security/clamav-devel/work/clamav-devel-20100308/libclamav/c++/llvm/test/CodeGen/X86/bswap-inline-asm.ll
< /usr/ports/security/clamav-devel/work/clamav-devel-20100308/libclamav/c++/llvm/test/CodeGen/X86/Output/bswap-inline-asm.ll.tmp
--
Exit Code: 1
Command Output (stdout):
--
Command 0: "llc" "-march=x86-64"
Command 0 Result: 0
Command 0 Output:
None

Command 0 Stderr:


Command 1: "not" "grep" "APP"
"/usr/ports/security/clamav-devel/work/clamav-devel-20100308/libclamav/c++/llvm/test/CodeGen/X86/Output/bswap-inline-asm.ll.tmp"
Command 1 Result: 1
Command 1 Output:
#APP
#NO_APP
#APP
#NO_APP
#APP
#NO_APP
#APP
#NO_APP


Command 1 Stderr:


--
Command Output (stderr):
--
--

********************
Testing Time: 95.31s
********************
Failing Tests (1):
LLVM :: CodeGen/X86/bswap-inline-asm.ll

Expected Passes : 1360
Expected Failures : 17
Unsupported Tests : 757
Unexpected Failures: 1

1 warning(s) in tests.
gmake[1]: *** [check-local-lit] Error 1
gmake[1]: Leaving directory
`/usr/ports/security/clamav-devel/work/clamav-devel-20100308/libclamav/c++/llvm/test'
gmake: *** [check-lit] Error 2
gmake: Leaving directory
`/usr/ports/security/clamav-devel/work/clamav-devel-20100308/libclamav/c++/llvm'
FAIL: llvmcheck.sh
=======================================
1 of 6 tests failed
Please report to http://bugs.clamav.net
=======================================
*** Error code 1


--
Renato Botelho
_______________________________________________
http://lurker.clamav.net/list/clamav-devel.html
Please submit your patches to our Bugzilla: http://bugs.clamav.net


edwintorok at gmail

Mar 11, 2010, 1:54 PM

Post #8 of 9 (2099 views)
Permalink
Re: One more problem on unit tests at freebsd 9 [In reply to]

On 03/11/2010 10:31 PM, Renato Botelho wrote:
>
> I needed to stop and start again, now I got this:
>
> FAIL: LLVM :: CodeGen/X86/bswap-inline-asm.ll (1340 of 2135)
> ******************** TEST 'LLVM :: CodeGen/X86/bswap-inline-asm.ll'
> FAILED ********************
> Script:
> --
> llc < /usr/ports/security/clamav-devel/work/clamav-devel-20100308/libclamav/c++/llvm/test/CodeGen/X86/bswap-inline-asm.ll
> -march=x86-64 >
> /usr/ports/security/clamav-devel/work/clamav-devel-20100308/libclamav/c++/llvm/test/CodeGen/X86/Output/bswap-inline-asm.ll.tmp
> not grep APP /usr/ports/security/clamav-devel/work/clamav-devel-20100308/libclamav/c++/llvm/test/CodeGen/X86/Output/bswap-inline-asm.ll.tmp
> FileCheck /usr/ports/security/clamav-devel/work/clamav-devel-20100308/libclamav/c++/llvm/test/CodeGen/X86/bswap-inline-asm.ll
> < /usr/ports/security/clamav-devel/work/clamav-devel-20100308/libclamav/c++/llvm/test/CodeGen/X86/Output/bswap-inline-asm.ll.tmp
> --
> Exit Code: 1
> Command Output (stdout):
> --
> Command 0: "llc" "-march=x86-64"
> Command 0 Result: 0
> Command 0 Output:
> None
>
> Command 0 Stderr:
>
>
> Command 1: "not" "grep" "APP"
> "/usr/ports/security/clamav-devel/work/clamav-devel-20100308/libclamav/c++/llvm/test/CodeGen/X86/Output/bswap-inline-asm.ll.tmp"
> Command 1 Result: 1
> Command 1 Output:
> #APP
> #NO_APP
> #APP
> #NO_APP
> #APP
> #NO_APP
> #APP
> #NO_APP
>
>
> Command 1 Stderr:
>
>
> --
> Command Output (stderr):
> --
> --
>
> ********************
> Testing Time: 95.31s
> ********************
> Failing Tests (1):
> LLVM :: CodeGen/X86/bswap-inline-asm.ll
>
> Expected Passes : 1360
> Expected Failures : 17
> Unsupported Tests : 757
> Unexpected Failures: 1

We're close, only 1 test failing.

On FreeBSD 8 I can't reproduce this though:
Testing Time: 75.70s

Expected Passes : 1361
Expected Failures : 17
Unsupported Tests : 757

This is on:
FreeBSD 8.0-RELEASE amd64 amd64

Please open a bugreport on bugs.clamav.net, and attach output from these
commands:
$ libclamav/c++/llc --version
$ libclamav/c++/llc <libclamav/c++/llvm/test/CodeGen/X86/bswap-inline-asm.ll
$ which llc
$ llc --version

Best regards,
--Edwin
_______________________________________________
http://lurker.clamav.net/list/clamav-devel.html
Please submit your patches to our Bugzilla: http://bugs.clamav.net


rbgarga at gmail

Mar 12, 2010, 3:10 AM

Post #9 of 9 (2101 views)
Permalink
Re: One more problem on unit tests at freebsd 9 [In reply to]

2010/3/11 Török Edwin <edwintorok [at] gmail>:
> $ libclamav/c++/llc <libclamav/c++/llvm/test/CodeGen/X86/bswap-inline-asm.ll

Done, Bug ID #1879

--
Renato Botelho
_______________________________________________
http://lurker.clamav.net/list/clamav-devel.html
Please submit your patches to our Bugzilla: http://bugs.clamav.net

ClamAV devel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.