Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regression test failure on big endian (s390x, hppa, powerpc, ppc64) #278

Open
df7cb opened this issue Oct 28, 2020 · 0 comments
Open

Regression test failure on big endian (s390x, hppa, powerpc, ppc64) #278

df7cb opened this issue Oct 28, 2020 · 0 comments

Comments

@df7cb
Copy link
Contributor

df7cb commented Oct 28, 2020

The pointcloud 1.2.1 regression tests fail on big-endian architectures during the Debian package builds:

s390x:

*** pgsql/regression.diffs ***
diff -U3 /<<PKGBUILDDIR>>/pgsql/expected/pointcloud.out /<<PKGBUILDDIR>>/pgsql/results/pointcloud.out
--- /<<PKGBUILDDIR>>/pgsql/expected/pointcloud.out	2020-01-07 20:42:28.000000000 +0000
+++ /<<PKGBUILDDIR>>/pgsql/results/pointcloud.out	2020-10-28 21:54:46.747030501 +0000
@@ -323,7 +323,7 @@
 SELECT PC_Uncompress(pa) FROM pa_test LIMIT 1;
                                    pc_uncompress                                    
 ------------------------------------------------------------------------------------
- 0101000000000000000200000002000000030000000500000006000200000003000000050000000800
+ 0000000001000000000000000200000002000000030000000500060000000200000003000000050008
 (1 row)
 
 SELECT PC_AsText(pa) FROM pa_test;
@@ -338,19 +338,19 @@
 SELECT PC_EnvelopeAsBinary(pa) from pa_test;
                                                                                      pc_envelopeasbinary                                                                                      
 ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
- \x010300000001000000050000007b14ae47e17a943fb81e85eb51b89e3f7b14ae47e17a943fb81e85eb51b89e3f7b14ae47e17a943fb81e85eb51b89e3f7b14ae47e17a943fb81e85eb51b89e3f7b14ae47e17a943fb81e85eb51b89e3f
- \x01030000000100000005000000b81e85eb51b8ae3fec51b81e85ebb13fb81e85eb51b8ae3f9a9999999999b93f0ad7a3703d0ab73f9a9999999999b93f0ad7a3703d0ab73fec51b81e85ebb13fb81e85eb51b8ae3fec51b81e85ebb13f
- \x01030000000100000005000000b81e85eb51b8ae3fec51b81e85ebb13fb81e85eb51b8ae3f9a9999999999b93f0ad7a3703d0ab73f9a9999999999b93f0ad7a3703d0ab73fec51b81e85ebb13fb81e85eb51b8ae3fec51b81e85ebb13f
- \x01030000000100000005000000b81e85eb51b8ae3fec51b81e85ebb13fb81e85eb51b8ae3f9a9999999999b93f0ad7a3703d0ab73f9a9999999999b93f0ad7a3703d0ab73fec51b81e85ebb13fb81e85eb51b8ae3fec51b81e85ebb13f
+ \x000000000300000001000000053f947ae147ae147b3f9eb851eb851eb83f947ae147ae147b3f9eb851eb851eb83f947ae147ae147b3f9eb851eb851eb83f947ae147ae147b3f9eb851eb851eb83f947ae147ae147b3f9eb851eb851eb8
+ \x000000000300000001000000053faeb851eb851eb83fb1eb851eb851ec3faeb851eb851eb83fb999999999999a3fb70a3d70a3d70a3fb999999999999a3fb70a3d70a3d70a3fb1eb851eb851ec3faeb851eb851eb83fb1eb851eb851ec
+ \x000000000300000001000000053faeb851eb851eb83fb1eb851eb851ec3faeb851eb851eb83fb999999999999a3fb70a3d70a3d70a3fb999999999999a3fb70a3d70a3d70a3fb1eb851eb851ec3faeb851eb851eb83fb1eb851eb851ec
+ \x000000000300000001000000053faeb851eb851eb83fb1eb851eb851ec3faeb851eb851eb83fb999999999999a3fb70a3d70a3d70a3fb999999999999a3fb70a3d70a3d70a3fb1eb851eb851ec3faeb851eb851eb83fb1eb851eb851ec
 (4 rows)
 
 SELECT PC_Envelope(pa) from pa_test;
                                                                                          pc_envelope                                                                                          
 ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
- \x010300000001000000050000007b14ae47e17a943fb81e85eb51b89e3f7b14ae47e17a943fb81e85eb51b89e3f7b14ae47e17a943fb81e85eb51b89e3f7b14ae47e17a943fb81e85eb51b89e3f7b14ae47e17a943fb81e85eb51b89e3f
- \x01030000000100000005000000b81e85eb51b8ae3fec51b81e85ebb13fb81e85eb51b8ae3f9a9999999999b93f0ad7a3703d0ab73f9a9999999999b93f0ad7a3703d0ab73fec51b81e85ebb13fb81e85eb51b8ae3fec51b81e85ebb13f
- \x01030000000100000005000000b81e85eb51b8ae3fec51b81e85ebb13fb81e85eb51b8ae3f9a9999999999b93f0ad7a3703d0ab73f9a9999999999b93f0ad7a3703d0ab73fec51b81e85ebb13fb81e85eb51b8ae3fec51b81e85ebb13f
- \x01030000000100000005000000b81e85eb51b8ae3fec51b81e85ebb13fb81e85eb51b8ae3f9a9999999999b93f0ad7a3703d0ab73f9a9999999999b93f0ad7a3703d0ab73fec51b81e85ebb13fb81e85eb51b8ae3fec51b81e85ebb13f
+ \x000000000300000001000000053f947ae147ae147b3f9eb851eb851eb83f947ae147ae147b3f9eb851eb851eb83f947ae147ae147b3f9eb851eb851eb83f947ae147ae147b3f9eb851eb851eb83f947ae147ae147b3f9eb851eb851eb8
+ \x000000000300000001000000053faeb851eb851eb83fb1eb851eb851ec3faeb851eb851eb83fb999999999999a3fb70a3d70a3d70a3fb999999999999a3fb70a3d70a3d70a3fb1eb851eb851ec3faeb851eb851eb83fb1eb851eb851ec
+ \x000000000300000001000000053faeb851eb851eb83fb1eb851eb851ec3faeb851eb851eb83fb999999999999a3fb70a3d70a3d70a3fb999999999999a3fb70a3d70a3d70a3fb1eb851eb851ec3faeb851eb851eb83fb1eb851eb851ec
+ \x000000000300000001000000053faeb851eb851eb83fb1eb851eb851ec3faeb851eb851eb83fb999999999999a3fb70a3d70a3d70a3fb999999999999a3fb70a3d70a3d70a3fb1eb851eb851ec3faeb851eb851eb83fb1eb851eb851ec
 (4 rows)
 
 SELECT PC_AsText(PC_Union(pa)) FROM pa_test;
@@ -396,7 +396,7 @@
 SELECT Sum(PC_MemSize(pa)) FROM pa_test_dim;
  sum 
 -----
- 684
+ 688
 (1 row)
 
 SELECT Sum(PC_PatchMax(pa,'x')) FROM pa_test_dim;
@@ -645,7 +645,7 @@
 		PC_MakePoint(1, ARRAY[10.,10.,10.,10.])]));
                                              pc_boundingdiagonalasbinary                                              
 ----------------------------------------------------------------------------------------------------------------------
- \x010200008002000000000000000000000000000000000000000000000000000000000000000000244000000000000024400000000000002440
+ \x008000000200000002000000000000000000000000000000000000000000000000402400000000000040240000000000004024000000000000
 (1 row)
 
 -- test PC_SetPCId

The failures on hppa, powerpc, and ppc64 look the same.

https://buildd.debian.org/status/logs.php?pkg=pgpointcloud&ver=1.2.1-4

Is that diff benign?

(The alpha failure is different; sparc64 is only succeeding because it doesn't run the tests.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant