Hi all,
I'm a Daniele's colleague, this afternoon we run the tests on our IBMi 
server and obviously we get som errors.
We've attached them to this post.
full.txt is about the entire output
first.txt is the output stopped at the first error occurrence.

Thanks in advance to everybody 

ps.
If you would like to have access to an IBMi server we can help you


On Thursday, April 16, 2015 at 12:51:07 PM UTC+2, Marco Pivetta wrote:
>
> Hi Daniele,
>
> git clone [email protected]:doctrine/doctrine2.git
> cd doctrine2
> curl -sS https://getcomposer.org/installer
> composer update
> ./vendor/bin/phpunit -c your-db2-config.xml
>
> Marco Pivetta 
>
> http://twitter.com/Ocramius      
>
> http://ocramius.github.com/
>
> On 16 April 2015 at 11:48, Daniele Scillia <[email protected] 
> <javascript:>> wrote:
>
>> Hi Marco,
>> thanks for your reply.
>> I tried to look for information about the Doctrine test suit and 
>> understand how to use it, so that I can be able to write here the feedback 
>> I got from it, but I didn't succeed.
>>
>> Can you please help me, writing me how to run this tests?
>> Link for downloads (if any), some examples or guide.
>>
>> Thanks in advance for your help.
>>
>> On Wednesday, April 15, 2015 at 5:53:41 PM UTC+2, Marco Pivetta wrote:
>>>
>>> Hi Daniele,
>>>
>>> We currently cannot test against AS400 machines because we don't have 
>>> such a virtualization environment, so we can't reproduce the issue.
>>>
>>> Our IBMDB2 setups are on linux boxes, which means that both the syntax 
>>> and the internal schema are most probably different.
>>>
>>> I suggest running the test suite first, and reporting any problems with 
>>> it.
>>>
>>> Greets,
>>>
>>> Marco Pivetta 
>>>
>>> http://twitter.com/Ocramius      
>>>
>>> http://ocramius.github.com/
>>>
>>> On 15 April 2015 at 16:47, Daniele Scillia <[email protected]> wrote:
>>>
>>>> Hy guys, I have a problem using doctrine with Ibm DB2 driver on an 
>>>> as400 iseries IBMi.
>>>>
>>>> I spent the last 3 days studying Doctrine, and I think I understood the 
>>>> basic and I was able to make the tutorial with sqlite works.
>>>> After that,I tried to make it works connecting to a DB2 database.
>>>> I found the right configuration to give to it and the connection works.
>>>> It was also able to run the create command and create the table, and 
>>>> also insert some data in it.
>>>> Of course it'just simple table with two columns but it's great for me 
>>>> that it works.
>>>>
>>>> The problem is about the update command of doctrine, it's giving me the 
>>>> error from the attached image.
>>>>
>>>> It seems to me that is trying to extract some data from some system 
>>>> table, but the name of this table are not as he expect them.
>>>>
>>>> In the example, he look for the table: SYSTABLES in the library: SYSIBM.
>>>> This library does not exist. I was able to find the table in another 
>>>> library, but if I edit the IBMDB2platform of doctrine to look into that 
>>>> library, this specific quesry goes ok but after this there a lot of other 
>>>> queries, more complicated, looking for tables that doesn't exist.
>>>>
>>>> I hope I explained my sealf clearly.
>>>> If anyone can help, I would really appreciate it.
>>>> Thanks in advance guys.
>>>>
>>>> -- 
>>>> You received this message because you are subscribed to the Google 
>>>> Groups "doctrine-user" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>> an email to [email protected].
>>>> To post to this group, send email to [email protected].
>>>> Visit this group at http://groups.google.com/group/doctrine-user.
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>>  -- 
>> You received this message because you are subscribed to the Google Groups 
>> "doctrine-user" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> Visit this group at http://groups.google.com/group/doctrine-user.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"doctrine-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/doctrine-user.
For more options, visit https://groups.google.com/d/optout.
$ /usr/local/zendsvr6/bin/php-cli phpunit.phar -c db2.xml -v
PHPUnit 4.6.4 by Sebastian Bergmann and contributors.

Configuration read from /www/doctrine2/db2.xml

.............................................................   61 / 2923 (  2%)
...........S.................................................  122 / 2923 (  4%)
.............................................................  183 / 2923 (  6%)
.............................................................  244 / 2923 (  8%)
.............................................................  305 / 2923 ( 10%)
.............................................................  366 / 2923 ( 12%)
.....................................S.......SSSS.S..........  427 / 2923 ( 14%)
.............................................................  488 / 2923 ( 16%)
.............................................................  549 / 2923 ( 18%)
...............................SS............................  610 / 2923 ( 20%)
.............................................................  671 / 2923 ( 22%)
.............................................................  732 / 2923 ( 25%)
.............................................................  793 / 2923 ( 27%)
.............................................................  854 / 2923 ( 29%)
.............................................................  915 / 2923 ( 31%)
.............................................................  976 / 2923 ( 33%)
...................S.SSSSSSSSSSSS............................ 1037 / 2923 ( 35%)
............................................................. 1098 / 2923 ( 37%)
...........................SS..............................S. 1159 / 2923 ( 39%)
..S...........S..............................S............... 1220 / 2923 ( 41%)
............................................................. 1281 / 2923 ( 43%)
....S........................................................ 1342 / 2923 ( 45%)
.......................................................SS.... 1403 / 2923 ( 47%)
.............................S............................... 1464 / 2923 ( 50%)
............................................................. 1525 / 2923 ( 52%)
............................................................. 1586 / 2923 ( 54%)
............................................................. 1647 / 2923 ( 56%)
............................................................. 1708 / 2923 ( 58%)
............................................................. 1769 / 2923 ( 60%)
...........................................................E

Time: 21.87 seconds, Memory: 121.75Mb

There was 1 error:

1) 
Doctrine\Tests\ORM\Mapping\ClassMetadataTest::testCanInstantiateInternalPhpClassSubclass
Doctrine\Instantiator\Exception\UnexpectedValueException: An exception was 
raised while trying to instantiate an instance of 
"Doctrine\Tests\ORM\Mapping\MyArrayObjectEntity" via un-serialization

/www/doctrine2/lib/Doctrine/ORM/Mapping/ClassMetadataInfo.php:911
/www/doctrine2/tests/Doctrine/Tests/ORM/Mapping/ClassMetadataTest.php:1113

Caused by
UnexpectedValueException: Empty serialized string cannot be empty

/www/doctrine2/lib/Doctrine/ORM/Mapping/ClassMetadataInfo.php:911
/www/doctrine2/tests/Doctrine/Tests/ORM/Mapping/ClassMetadataTest.php:1113

--

There were 32 skipped tests:

1) Doctrine\Tests\ORM\Cache\DefaultRegionTest::testSharedRegion
The Doctrine\Tests\ORM\Cache\DefaultRegionTest requires the use of APC

/www/doctrine2/tests/Doctrine/Tests/ORM/Cache/DefaultRegionTest.php:31

2) 
Doctrine\Tests\ORM\Functional\CompositePrimaryKeyTest::testCompositeCollectionMemberExpression
How to test this?

/www/doctrine2/tests/Doctrine/Tests/ORM/Functional/CompositePrimaryKeyTest.php:120

3) Doctrine\Tests\ORM\Functional\DatabaseDriverTest::testIssue2059
Platform does not support foreign keys.

/www/doctrine2/tests/Doctrine/Tests/ORM/Functional/DatabaseDriverTest.php:30

4) 
Doctrine\Tests\ORM\Functional\DatabaseDriverTest::testLoadMetadataFromDatabase
Platform does not support foreign keys.

/www/doctrine2/tests/Doctrine/Tests/ORM/Functional/DatabaseDriverTest.php:52

5) 
Doctrine\Tests\ORM\Functional\DatabaseDriverTest::testLoadMetadataWithForeignKeyFromDatabase
Platform does not support foreign keys.

/www/doctrine2/tests/Doctrine/Tests/ORM/Functional/DatabaseDriverTest.php:83

6) Doctrine\Tests\ORM\Functional\DatabaseDriverTest::testDetectManyToManyTables
Platform does not support foreign keys.

/www/doctrine2/tests/Doctrine/Tests/ORM/Functional/DatabaseDriverTest.php:117

7) 
Doctrine\Tests\ORM\Functional\DatabaseDriverTest::testLoadMetadataFromDatabaseDetail
Platform does not support foreign keys.

/www/doctrine2/tests/Doctrine/Tests/ORM/Functional/DatabaseDriverTest.php:154

8) Doctrine\Tests\ORM\Functional\Locking\LockTest::testLockPessimisticWrite
Database Driver has no Write Lock support.

/www/doctrine2/tests/Doctrine/Tests/ORM/Functional/Locking/LockTest.php:118

9) Doctrine\Tests\ORM\Functional\Locking\LockTest::testLockPessimisticRead
Database Driver has no Write Lock support.

/www/doctrine2/tests/Doctrine/Tests/ORM/Functional/Locking/LockTest.php:148

10) 
Doctrine\Tests\ORM\Functional\SchemaTool\CompanySchemaTest::testDropPartSchemaWithForeignKeys
Foreign Key test

/www/doctrine2/tests/Doctrine/Tests/ORM/Functional/SchemaTool/CompanySchemaTest.php:58

11) Doctrine\Tests\ORM\Functional\SchemaTool\DDC214Test::testCmsAddressModel
SQLite does not support ALTER TABLE statements.

/www/doctrine2/tests/Doctrine/Tests/ORM/Functional/SchemaTool/DDC214Test.php:22

12) Doctrine\Tests\ORM\Functional\SchemaTool\DDC214Test::testCompanyModel
SQLite does not support ALTER TABLE statements.

/www/doctrine2/tests/Doctrine/Tests/ORM/Functional/SchemaTool/DDC214Test.php:22

13) 
Doctrine\Tests\ORM\Functional\SchemaTool\MySqlSchemaToolTest::testGetCreateSchemaSql
The Doctrine\Tests\ORM\Functional\SchemaTool\MySqlSchemaToolTest requires the 
use of mysql.

/www/doctrine2/tests/Doctrine/Tests/ORM/Functional/SchemaTool/MySqlSchemaToolTest.php:13

14) 
Doctrine\Tests\ORM\Functional\SchemaTool\MySqlSchemaToolTest::testGetCreateSchemaSql2
The Doctrine\Tests\ORM\Functional\SchemaTool\MySqlSchemaToolTest requires the 
use of mysql.

/www/doctrine2/tests/Doctrine/Tests/ORM/Functional/SchemaTool/MySqlSchemaToolTest.php:13

15) 
Doctrine\Tests\ORM\Functional\SchemaTool\MySqlSchemaToolTest::testGetCreateSchemaSql3
The Doctrine\Tests\ORM\Functional\SchemaTool\MySqlSchemaToolTest requires the 
use of mysql.

/www/doctrine2/tests/Doctrine/Tests/ORM/Functional/SchemaTool/MySqlSchemaToolTest.php:13

16) 
Doctrine\Tests\ORM\Functional\SchemaTool\MySqlSchemaToolTest::testGetCreateSchemaSql4
The Doctrine\Tests\ORM\Functional\SchemaTool\MySqlSchemaToolTest requires the 
use of mysql.

/www/doctrine2/tests/Doctrine/Tests/ORM/Functional/SchemaTool/MySqlSchemaToolTest.php:13

17) 
Doctrine\Tests\ORM\Functional\SchemaTool\PostgreSqlSchemaToolTest::testPostgresMetadataSequenceIncrementedBy10
The Doctrine\Tests\ORM\Functional\SchemaTool\PostgreSqlSchemaToolTest requires 
the use of postgresql.

/www/doctrine2/tests/Doctrine/Tests/ORM/Functional/SchemaTool/PostgreSqlSchemaToolTest.php:15

18) 
Doctrine\Tests\ORM\Functional\SchemaTool\PostgreSqlSchemaToolTest::testGetCreateSchemaSql
The Doctrine\Tests\ORM\Functional\SchemaTool\PostgreSqlSchemaToolTest requires 
the use of postgresql.

/www/doctrine2/tests/Doctrine/Tests/ORM/Functional/SchemaTool/PostgreSqlSchemaToolTest.php:15

19) 
Doctrine\Tests\ORM\Functional\SchemaTool\PostgreSqlSchemaToolTest::testGetCreateSchemaSql2
The Doctrine\Tests\ORM\Functional\SchemaTool\PostgreSqlSchemaToolTest requires 
the use of postgresql.

/www/doctrine2/tests/Doctrine/Tests/ORM/Functional/SchemaTool/PostgreSqlSchemaToolTest.php:15

20) 
Doctrine\Tests\ORM\Functional\SchemaTool\PostgreSqlSchemaToolTest::testGetCreateSchemaSql3
The Doctrine\Tests\ORM\Functional\SchemaTool\PostgreSqlSchemaToolTest requires 
the use of postgresql.

/www/doctrine2/tests/Doctrine/Tests/ORM/Functional/SchemaTool/PostgreSqlSchemaToolTest.php:15

21) 
Doctrine\Tests\ORM\Functional\SchemaTool\PostgreSqlSchemaToolTest::testGetDropSchemaSql
The Doctrine\Tests\ORM\Functional\SchemaTool\PostgreSqlSchemaToolTest requires 
the use of postgresql.

/www/doctrine2/tests/Doctrine/Tests/ORM/Functional/SchemaTool/PostgreSqlSchemaToolTest.php:15

22) 
Doctrine\Tests\ORM\Functional\SchemaTool\PostgreSqlSchemaToolTest::testUpdateSchemaWithPostgreSQLSchema
The Doctrine\Tests\ORM\Functional\SchemaTool\PostgreSqlSchemaToolTest requires 
the use of postgresql.

/www/doctrine2/tests/Doctrine/Tests/ORM/Functional/SchemaTool/PostgreSqlSchemaToolTest.php:15

23) 
Doctrine\Tests\ORM\Functional\SequenceEmulatedIdentityStrategyTest::testPreSavePostSaveCallbacksAreInvoked
This test is special to platforms emulating IDENTITY key generation strategy 
through sequences.

/www/doctrine2/tests/Doctrine/Tests/ORM/Functional/SequenceEmulatedIdentityStrategyTest.php:19

24) 
Doctrine\Tests\ORM\Functional\SequenceGeneratorTest::testHighAllocationSizeSequence
Only working for Databases that support sequences.

/www/doctrine2/tests/Doctrine/Tests/ORM/Functional/SequenceGeneratorTest.php:17

25) Doctrine\Tests\ORM\Functional\Ticket\DDC1050Test::testPerformance
performance skipped

/www/doctrine2/tests/Doctrine/Tests/ORM/Functional/Ticket/DDC1050Test.php:14

26) Doctrine\Tests\ORM\Functional\Ticket\DDC1151Test::testQuoteForeignKey
This test is useful for all databases, but designed only for postgresql.

/www/doctrine2/tests/Doctrine/Tests/ORM/Functional/Ticket/DDC1151Test.php:13

27) Doctrine\Tests\ORM\Functional\Ticket\DDC117Test::testOneToOneCascadePersist
Test only works with databases that prefer sequences as ID strategy.

/www/doctrine2/tests/Doctrine/Tests/ORM/Functional/Ticket/DDC117Test.php:269

28) 
Doctrine\Tests\ORM\Functional\Ticket\DDC1360Test::testSchemaDoubleQuotedCreate
PostgreSQL only test.

/www/doctrine2/tests/Doctrine/Tests/ORM/Functional/Ticket/DDC1360Test.php:15

29) 
Doctrine\Tests\ORM\Functional\Ticket\DDC2182Test::testPassColumnOptionsToJoinColumns
This test is useful for all databases, but designed only for mysql.

/www/doctrine2/tests/Doctrine/Tests/ORM/Functional/Ticket/DDC2182Test.php:12

30) 
Doctrine\Tests\ORM\Functional\Ticket\DDC758Test::testManyToManyMergeAssociationAdds
Destroys testsuite

/www/doctrine2/tests/Doctrine/Tests/ORM/Functional/Ticket/DDC758Test.php:15

31) 
Doctrine\Tests\ORM\Functional\Ticket\DDC758Test::testManyToManyMergeAssociationRemoves
Destroys testsuite

/www/doctrine2/tests/Doctrine/Tests/ORM/Functional/Ticket/DDC758Test.php:15

32) Doctrine\Tests\ORM\Functional\UUIDGeneratorTest::testGenerateUUID
Currently restricted to MySQL platform.

/www/doctrine2/tests/Doctrine/Tests/ORM/Functional/UUIDGeneratorTest.php:14
                                                      
FAILURES!                                             
Tests: 1829, Assertions: 7675, Errors: 1, Skipped: 32.

PHPUnit 4.6.4 by Sebastian Bergmann and contributors.

Configuration read from /www/doctrine2/db2.xml

.............................................................   61 / 2923 (  2%)
...........S.................................................  122 / 2923 (  4%)
.............................................................  183 / 2923 (  6%)
.............................................................  244 / 2923 (  8%)
.............................................................  305 / 2923 ( 10%)
.............................................................  366 / 2923 ( 12%)
.....................................S.......SSSS.S..........  427 / 2923 ( 14%)
.............................................................  488 / 2923 ( 16%)
.............................................................  549 / 2923 ( 18%)
...............................SS............................  610 / 2923 ( 20%)
.............................................................  671 / 2923 ( 22%)
.............................................................  732 / 2923 ( 25%)
.............................................................  793 / 2923 ( 27%)
.............................................................  854 / 2923 ( 29%)
.............................................................  915 / 2923 ( 31%)
.............................................................  976 / 2923 ( 33%)
...................S.SSSSSSSSSSSS............................ 1037 / 2923 ( 35%)
............................................................. 1098 / 2923 ( 37%)
...........................SS..............................S. 1159 / 2923 ( 39%)
..S...........S..............................S............... 1220 / 2923 ( 41%)
............................................................. 1281 / 2923 ( 43%)
....S........................................................ 1342 / 2923 ( 45%)
.......................................................SS.... 1403 / 2923 ( 47%)
.............................S............................... 1464 / 2923 ( 50%)
............................................................. 1525 / 2923 ( 52%)
............................................................. 1586 / 2923 ( 54%)
............................................................. 1647 / 2923 ( 56%)
............................................................. 1708 / 2923 ( 58%)
............................................................. 1769 / 2923 ( 60%)
...........................................................EE 1830 / 2923 ( 62%)
............................................................. 1891 / 2923 ( 64%)
........S....................................EEE...EEE.II.... 1952 / 2923 ( 66%)
....................S........................................ 2013 / 2923 ( 68%)
............................................................. 2074 / 2923 ( 70%)
............................................................. 2135 / 2923 ( 73%)
............................................................. 2196 / 2923 ( 75%)
............................................................. 2257 / 2923 ( 77%)
............................................................. 2318 / 2923 ( 79%)
............................................................. 2379 / 2923 ( 81%)
............................................................. 2440 / 2923 ( 83%)
............................................................. 2501 / 2923 ( 85%)
............................................................. 2562 / 2923 ( 87%)
............................................................. 2623 / 2923 ( 89%)
............................................................. 2684 / 2923 ( 91%)
........
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to 
allocate 8192 bytes) in 
phar:///www/doctrine2/phpunit.phar/php-text-template/Template.php on line 108

Attachment: db2.xml
Description: XML document

Reply via email to