avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Jenkins Server <jenk...@builds.apache.org>
Subject Build failed in Jenkins: AVRO-python #151
Date Fri, 15 Jul 2011 01:25:13 GMT
See <https://builds.apache.org/job/AVRO-python/151/changes>

Changes:

[dcreager] AVRO-396. C: avrocat and avropipe commands

The new avrocat command prints the contents of an Avro file to stdout.
Each record appears on a separate line, and is formatted using the Avro
JSON encoding.

The new avropipe command prints the same contents, but the output format
is the same as if you had run the JSON encoding of the data through the
jsonpipe [1] command.  This provides a format that's more amenable to
processing using standard Unix tools, since individual scalar values (no
matter how deep the original record) appear on separate lines.

[1] https://github.com/dvxhouse/jsonpipe

[dcreager] AVRO-861. C: Remove dependency on stdbool.h

Buildbot raised on error on Solaris, saying that the stdbool.h header is
only allowed in C99 code.  Bruce pointed out that it would be safer and
more portable to not rely on any C99 standards if we don't have to.  In
this case, it's easy enough to replace bool with int, true with 1, and
false with 0.

------------------------------------------
[...truncated 1276 lines...]
  [py-test] Traceback (most recent call last):
  [py-test]      {"name": "TestRecord", "type": "record",
  [py-test]   File "/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/AVRO-python/trunk/lang/py/build/test/test_script.py",
line 156, in setUp
  [py-test]       "fields": [ {"name": "hash", "type": "org.apache.avro.test.util.MD5"} ]
  [py-test]     self.json_file = tempfile() + ".json"
  [py-test]      },
  [py-test]   File "/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/AVRO-python/trunk/lang/py/build/test/test_script.py",
line 96, in tempfile
  [py-test]      {"name": "TestError", "namespace": "org.apache.avro.test.errors",
  [py-test]     return NamedTemporaryFile(delete=False).name
  [py-test]       "type": "error", "fields": [ {"name": "message", "type": "string"} ]
  [py-test] TypeError: NamedTemporaryFile() got an unexpected keyword argument 'delete'
  [py-test]      }
  [py-test] 
  [py-test]  ],
  [py-test] ======================================================================
  [py-test] 
  [py-test] ERROR: test_stdin (test_script.TestWrite)
  [py-test]  "messages": {
  [py-test] ----------------------------------------------------------------------
  [py-test]      "echo": {
  [py-test] Traceback (most recent call last):
  [py-test]          "request": [{"name": "record", "type": "TestRecord"}],
  [py-test]   File "/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/AVRO-python/trunk/lang/py/build/test/test_script.py",
line 156, in setUp
  [py-test]          "response": "TestRecord"
  [py-test]     self.json_file = tempfile() + ".json"
  [py-test]      },
  [py-test]   File "/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/AVRO-python/trunk/lang/py/build/test/test_script.py",
line 96, in tempfile
  [py-test] 
  [py-test]     return NamedTemporaryFile(delete=False).name
  [py-test]      "error": {
  [py-test] TypeError: NamedTemporaryFile() got an unexpected keyword argument 'delete'
  [py-test]          "request": [],
  [py-test] 
  [py-test]          "response": "null",
  [py-test] ======================================================================
  [py-test]          "errors": ["org.apache.avro.test.errors.TestError"]
  [py-test] ERROR: test_version (test_script.TestWrite)
  [py-test]      }
  [py-test] ----------------------------------------------------------------------
  [py-test] 
  [py-test] Traceback (most recent call last):
  [py-test]  }
  [py-test]   File "/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/AVRO-python/trunk/lang/py/build/test/test_script.py",
line 156, in setUp
  [py-test] 
  [py-test]     self.json_file = tempfile() + ".json"
  [py-test] }
  [py-test]   File "/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/AVRO-python/trunk/lang/py/build/test/test_script.py",
line 96, in tempfile
  [py-test]     : STRING CAST SUCCESS
  [py-test]     return NamedTemporaryFile(delete=False).name
  [py-test] {"namespace": "org.apache.avro.test.namespace",
  [py-test] TypeError: NamedTemporaryFile() got an unexpected keyword argument 'delete'
  [py-test]  "protocol": "TestImplicitNamespace",
  [py-test] 
  [py-test] 
  [py-test] ======================================================================
  [py-test]  "types": [
  [py-test] ERROR: test_write_csv (test_script.TestWrite)
  [py-test]      {"name": "org.apache.avro.test.util.MD5", "type": "fixed", "size": 16},
  [py-test] ----------------------------------------------------------------------
  [py-test]      {"name": "ReferencedRecord", "type": "record", 
  [py-test] Traceback (most recent call last):
  [py-test]        "fields": [ {"name": "foo", "type": "string"} ] },
  [py-test]   File "/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/AVRO-python/trunk/lang/py/build/test/test_script.py",
line 156, in setUp
  [py-test]      {"name": "TestRecord", "type": "record",
  [py-test]     self.json_file = tempfile() + ".json"
  [py-test]       "fields": [ {"name": "hash", "type": "org.apache.avro.test.util.MD5"},
  [py-test]   File "/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/AVRO-python/trunk/lang/py/build/test/test_script.py",
line 96, in tempfile
  [py-test]                   {"name": "unqalified", "type": "ReferencedRecord"} ]
  [py-test]     return NamedTemporaryFile(delete=False).name
  [py-test]      },
  [py-test] TypeError: NamedTemporaryFile() got an unexpected keyword argument 'delete'
  [py-test]      {"name": "TestError",
  [py-test] 
  [py-test]       "type": "error", "fields": [ {"name": "message", "type": "string"} ]
  [py-test] ======================================================================
  [py-test]      }
  [py-test] ERROR: test_write_json (test_script.TestWrite)
  [py-test]  ],
  [py-test] ----------------------------------------------------------------------
  [py-test] 
  [py-test] Traceback (most recent call last):
  [py-test]  "messages": {
  [py-test]   File "/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/AVRO-python/trunk/lang/py/build/test/test_script.py",
line 156, in setUp
  [py-test]      "echo": {
  [py-test]     self.json_file = tempfile() + ".json"
  [py-test]          "request": [{"name": "qualified", 
  [py-test]   File "/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/AVRO-python/trunk/lang/py/build/test/test_script.py",
line 96, in tempfile
  [py-test]              "type": "org.apache.avro.test.namespace.TestRecord"}],
  [py-test]     return NamedTemporaryFile(delete=False).name
  [py-test]          "response": "TestRecord"
  [py-test] TypeError: NamedTemporaryFile() got an unexpected keyword argument 'delete'
  [py-test]      },
  [py-test] 
  [py-test] 
  [py-test] ----------------------------------------------------------------------
  [py-test]      "error": {
  [py-test] Ran 40 tests in 0.431s
  [py-test]          "request": [],
  [py-test] 
  [py-test]          "response": "null",
  [py-test] FAILED (errors=16)
  [py-test]          "errors": ["org.apache.avro.test.namespace.TestError"]
  [py-test]      }
  [py-test] 
  [py-test]  }
  [py-test] 
  [py-test] }
  [py-test]     : STRING CAST SUCCESS
  [py-test] {"namespace": "org.apache.avro.test.namespace",
  [py-test]  "protocol": "TestNamespaceTwo",
  [py-test] 
  [py-test]  "types": [
  [py-test]      {"name": "org.apache.avro.test.util.MD5", "type": "fixed", "size": 16},
  [py-test]      {"name": "ReferencedRecord", "type": "record", 
  [py-test]        "namespace": "org.apache.avro.other.namespace", 
  [py-test]        "fields": [ {"name": "foo", "type": "string"} ] },
  [py-test]      {"name": "TestRecord", "type": "record",
  [py-test]       "fields": [ {"name": "hash", "type": "org.apache.avro.test.util.MD5"},
  [py-test]                   {"name": "qualified", 
  [py-test]                     "type": "org.apache.avro.other.namespace.ReferencedRecord"}

  [py-test]                 ]
  [py-test]      },
  [py-test]      {"name": "TestError",
  [py-test]       "type": "error", "fields": [ {"name": "message", "type": "string"} ]
  [py-test]      }
  [py-test]  ],
  [py-test] 
  [py-test]  "messages": {
  [py-test]      "echo": {
  [py-test]          "request": [{"name": "qualified", 
  [py-test]              "type": "org.apache.avro.test.namespace.TestRecord"}],
  [py-test]          "response": "TestRecord"
  [py-test]      },
  [py-test] 
  [py-test]      "error": {
  [py-test]          "request": [],
  [py-test]          "response": "null",
  [py-test]          "errors": ["org.apache.avro.test.namespace.TestError"]
  [py-test]      }
  [py-test] 
  [py-test]  }
  [py-test] 
  [py-test] }
  [py-test]     : STRING CAST SUCCESS
  [py-test] {"namespace": "org.apache.avro.test.namespace",
  [py-test]  "protocol": "TestValidRepeatedName",
  [py-test] 
  [py-test]  "types": [
  [py-test]      {"name": "org.apache.avro.test.util.MD5", "type": "fixed", "size": 16},
  [py-test]      {"name": "ReferencedRecord", "type": "record", 
  [py-test]        "namespace": "org.apache.avro.other.namespace", 
  [py-test]        "fields": [ {"name": "foo", "type": "string"} ] },
  [py-test]      {"name": "ReferencedRecord", "type": "record", 
  [py-test]        "fields": [ {"name": "bar", "type": "double"} ] },
  [py-test]      {"name": "TestError",
  [py-test]       "type": "error", "fields": [ {"name": "message", "type": "string"} ]
  [py-test]      }
  [py-test]  ],
  [py-test] 
  [py-test]  "messages": {
  [py-test]      "echo": {
  [py-test]          "request": [{"name": "qualified", 
  [py-test]              "type": "ReferencedRecord"}],
  [py-test]          "response": "org.apache.avro.other.namespace.ReferencedRecord"
  [py-test]      },
  [py-test] 
  [py-test]      "error": {
  [py-test]          "request": [],
  [py-test]          "response": "null",
  [py-test]          "errors": ["org.apache.avro.test.namespace.TestError"]
  [py-test]      }
  [py-test] 
  [py-test]  }
  [py-test] 
  [py-test] }
  [py-test]     : STRING CAST SUCCESS
  [py-test] {"namespace": "org.apache.avro.test",
  [py-test]  "protocol": "BulkData",
  [py-test] 
  [py-test]  "types": [],
  [py-test] 
  [py-test]  "messages": {
  [py-test] 
  [py-test]      "read": {
  [py-test]          "request": [],
  [py-test]          "response": "bytes"
  [py-test]      },
  [py-test] 
  [py-test]      "write": {
  [py-test]          "request": [ {"name": "data", "type": "bytes"} ],
  [py-test]          "response": "null"
  [py-test]      }
  [py-test] 
  [py-test]  }
  [py-test] 
  [py-test] }
  [py-test]     : STRING CAST SUCCESS
  [py-test] {
  [py-test]   "protocol" : "API",
  [py-test]   "namespace" : "xyz.api",
  [py-test]   "types" : [ {
  [py-test]     "type" : "enum",
  [py-test]     "name" : "Symbology",
  [py-test]     "namespace" : "xyz.api.product",
  [py-test]     "symbols" : [ "OPRA", "CUSIP", "ISIN", "SEDOL" ]
  [py-test]   }, {
  [py-test]     "type" : "record",
  [py-test]     "name" : "Symbol",
  [py-test]     "namespace" : "xyz.api.product",
  [py-test]     "fields" : [ {
  [py-test]       "name" : "symbology",
  [py-test]       "type" : "xyz.api.product.Symbology"
  [py-test]     }, {
  [py-test]       "name" : "symbol",
  [py-test]       "type" : "string"
  [py-test]     } ]
  [py-test]   }, {
  [py-test]     "type" : "record",
  [py-test]     "name" : "MultiSymbol",
  [py-test]     "namespace" : "xyz.api.product",
  [py-test]     "fields" : [ {
  [py-test]       "name" : "symbols",
  [py-test]       "type" : {
  [py-test]         "type" : "map",
  [py-test]         "values" : "xyz.api.product.Symbol"
  [py-test]       }
  [py-test]     } ]
  [py-test]   } ],
  [py-test]   "messages" : {
  [py-test]   }
  [py-test] }
  [py-test]     : STRING CAST SUCCESS
  [py-test] 
  [py-test] TEST ROUND TRIP
  [py-test] ===============
  [py-test] 
  [py-test] 
  [py-test] TEST FULLNAME
  [py-test] =============
  [py-test] 
  [py-test] 
  [py-test] TEST CAST TO STRING AFTER PARSE
  [py-test] ===============================
  [py-test] 

BUILD FAILED
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/AVRO-python/trunk/lang/py/build.xml:130:
Test execution failed.  See output for details.

Total time: 3 seconds


Mime
View raw message