PPC64LE - pkg/geo - TestBoundingBoxFromGeomT - Test failures due to floating point differences #81733
Labels
A-spatial
Spatial work that is *not* related to builtins.
C-bug
Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
O-community
Originated from the community
T-disaster-recovery
T-sql-foundations
SQL Foundations Team (formerly SQL Schema + SQL Sessions)
X-blathers-triaged
blathers was able to find an owner
Describe the problem
I built the latest (Latest commit 48e48db) cockroachdb from master branch.
When tests are run, tests for pkg/geo fail due to floating point precision differences.
Log of failed test cases
To Reproduce
Build script used:
Expected behavior
A clear and concise description of what you expected to happen.
Additional data / screenshots
[[email protected] cockroach]# grep FAIL /build/v22/06-geo-default.txt
--- FAIL: TestBoundingBoxFromGeomT (0.00s)
--- FAIL: TestBoundingBoxFromGeomT/GeographyType:_&geom.LineString{geom1:geom.geom1{geom0:geom.geom0{layout:1,_stride:2,_flatCoords:[]float64{1,_1,_2,_2},_srid:4326}}} (0.00s)
--- FAIL: TestBoundingBoxFromGeomT/GeographyType:_&geom.Polygon{geom2:geom.geom2{geom1:geom.geom1{geom0:geom.geom0{layout:1,_stride:2,_flatCoords:[]float64{1,_1,_2,_2,_1,_2,_1,_1},_srid:0}},_ends:[]int{8}}} (0.00s)
--- FAIL: TestBoundingBoxFromGeomT/GeographyType:_&geom.Polygon{geom2:geom.geom2{geom1:geom.geom1{geom0:geom.geom0{layout:1,_stride:2,_flatCoords:[]float64{1,_1,_1,_2,_2,_2,_1,_1},_srid:0}},_ends:[]int{8}}} (0.00s)
--- FAIL: TestBoundingBoxFromGeomT/GeographyType:_&geom.MultiLineString{geom2:geom.geom2{geom1:geom.geom1{geom0:geom.geom0{layout:1,_stride:2,_flatCoords:[]float64{1,_1,_2,_2,_3,_3,_4,_4},_srid:0}},_ends:[]int{4,_8}}} (0.00s)
--- FAIL: TestBoundingBoxFromGeomT/GeographyType:_&geom.MultiPolygon{geom3:geom.geom3{geom1:geom.geom1{geom0:geom.geom0{layout:1,_stride:2,_flatCoords:[]float64{1,_1,_2,_2,_1,_2,_1,_1,_3,_3,_4,_4,_3,_4,_3,_3},_srid:0}},_endss:[][]int{[]int{8},_[]int{16}}}} (0.00s)
--- FAIL: TestBoundingBoxFromGeomT/GeographyType:_&geom.GeometryCollection{layout:0,_geoms:[]geom.T{(*geom.LineString)(0xc000159830),_(*geom.Point)(0xc000159710)},_srid:0} (0.00s)
FAIL
FAIL github.com/cockroachdb/cockroach/pkg/geo 0.272s
FAIL
Environment:
[[email protected] cockroach]# git log -3 --oneline
48e48db89e (HEAD -> master, origin/staging, origin/master, origin/HEAD) Merge #81681
7ad29c34e0 colexecwindow: fix panic when lead or lag arguments are different types
a8d4ce6cad Merge #81670 #81672
[[email protected] cockroach]# git branch
* master
[[email protected] cockroach]# go version
go version go1.17.8 linux/ppc64le
[[email protected] cockroach]# node --version
v12.20.2
Additional context
We support running cockroachdb on ppc64le. We'd like to fix the failures we encounter in order to automate builds for ppc64le.
Jira issue: CRDB-16047
The text was updated successfully, but these errors were encountered: