-
Notifications
You must be signed in to change notification settings - Fork 251
Open
Description
This is effectively a reopening on issue #502 by the new Fedora maintainer (me):
On s390x / Fedora Rawhide:
Testing in: /builddir/build/BUILD/golang-github-google-jsonnet-0.20.0-build/go-jsonnet-2b4d7535f540f128e38830492e509a550eb86d57/_build/src
PATH: /builddir/build/BUILD/golang-github-google-jsonnet-0.20.0-build/go-jsonnet-2b4d7535f540f128e38830492e509a550eb86d57/_build/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin
GOPATH: /builddir/build/BUILD/golang-github-google-jsonnet-0.20.0-build/go-jsonnet-2b4d7535f540f128e38830492e509a550eb86d57/_build:/usr/share/gocode
GO111MODULE: off
command: go test -buildmode pie -compiler gc -ldflags " -X github.com/google/go-jsonnet/version=0.20.0 -X github.com/google/go-jsonnet/version.commit=2b4d7535f540f128e38830492e509a550eb86d57 -extldflags '-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes '"
testing: github.com/google/go-jsonnet
github.com/google/go-jsonnet
--- FAIL: TestEval (0.30s)
--- FAIL: TestEval/testdata/pow6 (0.00s)
main_test.go:362: golden file testdata/pow6.golden has diff:
RUNTIME ERROR: Overflow
-------------------------------------------------
testdata/pow1797542555584232379414564735410419140559005769890663233247902254899274058828553556782876009967685612495161790051174879009958166703899735927840652597548799013836721665455825589846:33189841112:13340418022648587309464994630863741-6044832879263 $
std.pow(26447929299624726587681081.471, 714630454481322029347500727.4508971)
-------------------------------------------------
During evaluation
205984256
--- FAIL: TestEval/testdata/stdlib_smoke_test (0.03s)
main_test.go:362: golden file testdata/stdlib_smoke_test.golden has diff:
{
"abs": 42,
"acos": 1.0471975511965976,
"asciiLower": "blah",
"asciiUpper": "BLAH",
"asin": 0.52359877559829893,
"assertEqual": true,
"atan": 1.37340076694501597,
"base64": [
"YmxhaA==",
"YmxhaA=="
],
"base64Decode": "blah\n",
"base64DecodeBytes": [
98,
108,
97,
104,
10
],
"ceil": 5,
"char": "A",
"codepoint": 65,
"cos": 0.2836621854632263,
"count": 1,
"decodeUTF8": "AAA",
"encodeUTF8": [
98,
108,
97,
104
],
"endsWith": true,
"escapeStringBash": "'test '\"'\"'test'\"'\"'test'",
"escapeStringDollars": "test 'test'test",
"escapeStringJson": "\"test 'test'test\"",
"escapeStringPython": "\"test 'test'test\"",
"exp": 148.4131591025766,
"exponent": 3,
"filter": [
2,
4
],
"filterMap": [
4,
8
],
"find": [
2,
4
],
"findSubstr": [
0,
5
],
"flatMap": [
2,
3,
4,
6,
6,
9
],
"flattenArrays": [
1,
2,
3,
4,
5,
[
6,
7
]
],
"floor": 5,
"foldl": [
0,
1,
2,
3
],
"foldr": [
1,
2,
3,
4
],
"format": "test blah 42",
"get": [
17,
42,
18,
42
],
"isArray": true,
"isBoolean": true,
"isFunction": true,
"isNumber": true,
"isObject": true,
"isString": true,
"join": "a,b,c",
"length": 0,
"lines": "a\nb\nc\n",
"log": 1.6094379124341003,
"lstripChars": "bbbbcccc",
"makeArray": [
0,
1,
2,
3,
4
],
"manifestIni": "a = 1\nb = 2\n[s1]\nx = 1\ny = 2\n",
"manifestJsonEx": "{\n \"a\": {\n \"b\": \"c\"\n }\n}",
"manifestJsonMinified": "{\"a\":{\"b\":\"c\"}}",
"manifestPython": "{\"a\": {\"b\": \"c\"}}",
"manifestPythonVars": "a = {\"b\": \"c\"}\n",
"manifestTomlEx": "\n\n[a]\n b = \"c\"",
"manifestXmlJsonml": "<blah a=\"42\"></blah>",
"manifestYamlDoc": "\"a\":\n \"b\": \"c\"",
"manifestYamlStream": "---\n42\n---\n\"a\":\n \"b\": \"c\"\n...\n",
"mantissa": 0.625,
"map": [
-1,
-2,
-3
],
"mapWithIndex": [
3,
3,
3
],
"mapWithKey": {
"a": 42
},
"max": 3,
"md5": "1bc29b36f623ba82aaf6724fd3b16718",
"member": true,
"mergePatch": { },
"min": 2,
"objectFields": [ ],
"objectFieldsAll": [ ],
"objectHas": false,
"objectHasAll": false,
"objectKeysValues": [ ],
"objectKeysValuesAll": [ ],
"objectValues": [ ],
"objectValuesAll": [ ],
"parseHex": 3735928559,
"parseInt": 42,
"parseJson": {
"a": "b"
},
"parseOctal": 83,
"pow": 8,
"prune": {
"y": [
"42"
]
},
"range": [
1,
2,
3,
4,
5
],
"repeat": "foofoofoo",
"reverse": [
"a",
"b"
],
"rstripChars": "aaabbbb",
"set": [
[
1,
2,
3
],
[
3,
2,
1
]
],
"setDiff": [
[
1,
2
],
[
1,
3
]
],
"setInter": [
[
3
],
[
2
]
],
"setMember": [
false,
true
],
"setUnion": [
[
1,
2,
3,
4,
5
],
[
1,
2,
3,
4,
5
]
],
"sign": 1,
"sin": -0.95892427466313845,
"slice": "o",
"sort": [
[
1,
2,
3
],
[
3,
2,
1
]
],
"split": [
"a",
"b",
"c"
],
"splitLimit": [
"a",
"b,c"
],
"splitLimitR": [
"a,b",
"c"
],
"sqrt": 2.2360679774997898,
"startsWith": true,
"strReplace": "bba",
"stringChars": [
"b",
"l",
"a",
"h"
],
"stripChars": "bbbb",
"substr": "s",
"tan": -3.3805150062465854,
"thisFile": "testdata/stdlib_smoke_test",
"toString": "42",
"type": "object",
"uniq": [
[
1,
2,
3
],
[
"a",
"B",
"a"
]
]
}
FAIL
exit status 1
FAIL github.com/google/go-jsonnet 0.306s
error: Bad exit status from /var/tmp/rpm-tmp.XCHo3D (%check)
/builddir/build/originals/golang-github-google-jsonnet.spec line 48: autopatch: no matching patches in range
Bad exit status from /var/tmp/rpm-tmp.XCHo3D (%check)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels