See <https://builds.apache.org/job/AVRO-python/580/changes>
Changes: [blue] AVRO-1767: Fall back to unwrapped union values. Contributed by Matthieu Monsch. Previously, union wrapping during `type.clone` calls would be done in place of normal copy. Now it is done as a backup if a normal copy fails. This is more consistent with the documentation, and makes it much simpler to wrap nested unions. Other changes: + Add an optional argument to `type.getName` to expose built-in type names (useful to implement an "optional" logical type for example). + Document (and rename) `assertLogicalTypes` parsing option. + Tweak logical type validity check, enabling error hooks to work even when a logical type is valid for a subset of its underlying type's values (e.g. when defining an "even integer" type). Previously the path would have been correct but the type would have been that of the underlying one. ------------------------------------------ [...truncated 1999 lines...] AU lang/c++/m4/m4_ax_boost_regex.m4 A lang/c++/m4/m4_ax_boost_asio.m4 AU lang/c++/m4/README A lang/c++/m4/m4_ax_boost_filesystem.m4 AU lang/c++/m4/m4_ax_boost_system.m4 AU lang/c++/m4/m4_ax_boost_thread.m4 A lang/c++/NOTICE A lang/c++/LICENSE A lang/c++/Doxyfile A lang/c++/AUTHORS A lang/c++/ChangeLog A lang/c++/scripts A lang/c++/scripts/gen-cppcode.py A lang/py A lang/py/build.xml A lang/py/test A lang/py/test/test_datafile.py A lang/py/test/test_datafile_interop.py A lang/py/test/test_ipc.py AU lang/py/test/test_tether_task.py AU lang/py/test/mock_tether_parent.py A lang/py/test/sample_http_client.py A lang/py/test/txsample_http_server.py A lang/py/test/txsample_http_client.py AU lang/py/test/set_avro_test_path.py AU lang/py/test/test_tether_word_count.py A lang/py/test/test_schema.py A lang/py/test/test_protocol.py A lang/py/test/gen_interop_data.py A lang/py/test/test_script.py AU lang/py/test/word_count_task.py A lang/py/test/av_bench.py AU lang/py/test/test_tether_task_runner.py A lang/py/test/sample_http_server.py A lang/py/test/test_io.py AU lang/py/ivy.xml A lang/py/lib A lang/py/lib/pyAntTasks-1.3-LICENSE.txt A lang/py/lib/simplejson A lang/py/lib/simplejson/decoder.py A lang/py/lib/simplejson/LICENSE.txt A lang/py/lib/simplejson/scanner.py A lang/py/lib/simplejson/tool.py A lang/py/lib/simplejson/__init__.py A lang/py/lib/simplejson/encoder.py A lang/py/lib/simplejson/_speedups.c A lang/py/lib/pyAntTasks-1.3.jar AU lang/py/ivysettings.xml A lang/py/scripts A lang/py/scripts/avro AU lang/py/setup.py A lang/py/src A lang/py/src/avro A lang/py/src/avro/io.py A lang/py/src/avro/txipc.py A lang/py/src/avro/datafile.py A lang/py/src/avro/NOTICE A lang/py/src/avro/LICENSE A lang/py/src/avro/ipc.py A lang/py/src/avro/tool.py A lang/py/src/avro/__init__.py A lang/py/src/avro/schema.py A lang/py/src/avro/protocol.py A lang/py/src/avro/tether AU lang/py/src/avro/tether/tether_task_runner.py AU lang/py/src/avro/tether/tether_task.py AU lang/py/src/avro/tether/util.py AU lang/py/src/avro/tether/__init__.py A share A share/docker A share/docker/Dockerfile A share/editors A share/editors/avro-idl.vim A share/editors/README.txt A share/test A share/test/data AU share/test/data/weather-sorted.avro AU share/test/data/weather.avro A share/test/data/weather.json AU share/test/data/test.avro12 AU share/test/data/weather-snappy.avro AU share/test/data/schema-tests.txt AU share/test/data/syncInMeta.avro A share/test/interop A share/test/interop/rpc A share/test/interop/rpc/add A share/test/interop/rpc/add/onePlusOne AU share/test/interop/rpc/add/onePlusOne/request.avro AU share/test/interop/rpc/add/onePlusOne/response.avro A share/test/interop/rpc/echo A share/test/interop/rpc/echo/foo AU share/test/interop/rpc/echo/foo/request.avro AU share/test/interop/rpc/echo/foo/response.avro A share/test/interop/rpc/hello A share/test/interop/rpc/hello/world AU share/test/interop/rpc/hello/world/request.avro AU share/test/interop/rpc/hello/world/response.avro A share/test/interop/bin AU share/test/interop/bin/test_rpc_interop.sh A share/test/schemas A share/test/schemas/http.avdl A share/test/schemas/FooBarSpecificRecord.avsc A share/test/schemas/mail.avpr A share/test/schemas/reserved.avsc A share/test/schemas/specialtypes.avdl A share/test/schemas/weather.avsc A share/test/schemas/interop.avsc A share/test/schemas/contexts.avdl A share/test/schemas/BulkData.avpr A share/test/schemas/social.avdl A share/test/schemas/simple.avpr A share/test/schemas/stringables.avdl A share/test/schemas/echo.avdl A share/test/schemas/namespace.avpr A share/VERSION.txt A share/schemas A share/schemas/org A share/schemas/org/apache A share/schemas/org/apache/avro A share/schemas/org/apache/avro/mapred A share/schemas/org/apache/avro/mapred/tether A share/schemas/org/apache/avro/mapred/tether/InputProtocol.avpr A share/schemas/org/apache/avro/mapred/tether/OutputProtocol.avpr A share/schemas/org/apache/avro/data A share/schemas/org/apache/avro/data/Json.avsc A share/schemas/org/apache/avro/ipc A share/schemas/org/apache/avro/ipc/HandshakeRequest.avsc A share/schemas/org/apache/avro/ipc/HandshakeResponse.avsc A .gitignore A doc A doc/build.xml A doc/examples AU doc/examples/example.py A doc/examples/mr-example A doc/examples/mr-example/src A doc/examples/mr-example/src/main A doc/examples/mr-example/src/main/java A doc/examples/mr-example/src/main/java/example AU doc/examples/mr-example/src/main/java/example/AvroWordCount.java AU doc/examples/mr-example/src/main/java/example/MapReduceColorCount.java AU doc/examples/mr-example/src/main/java/example/MapredColorCount.java AU doc/examples/mr-example/src/main/java/example/MapReduceAvroWordCount.java AU doc/examples/mr-example/src/main/java/example/GenerateData.java AU doc/examples/mr-example/pom.xml A doc/examples/user.avsc A doc/examples/java-example A doc/examples/java-example/src A doc/examples/java-example/src/main A doc/examples/java-example/src/main/java A doc/examples/java-example/src/main/java/example AU doc/examples/java-example/src/main/java/example/GenericMain.java AU doc/examples/java-example/src/main/java/example/SpecificMain.java AU doc/examples/java-example/pom.xml A doc/forrest.properties A doc/src AU doc/src/cli.xconf A doc/src/skinconf.xml A doc/src/content A doc/src/content/xdocs A doc/src/content/xdocs/tabs.xml AU doc/src/content/xdocs/gettingstartedjava.xml AU doc/src/content/xdocs/gettingstartedpython.xml A doc/src/content/xdocs/spec.xml AU doc/src/content/xdocs/mr.xml A doc/src/content/xdocs/sasl.xml A doc/src/content/xdocs/site.xml A doc/src/content/xdocs/index.xml A doc/src/content/xdocs/idl.xml A doc/src/content/htmldocs AU doc/src/content/htmldocs/canonical-completeness.html A doc/src/resources A doc/src/resources/images A doc/src/resources/images/favicon.ico AU doc/src/resources/images/apache_feather.gif AU doc/src/resources/images/avro-logo.png A CHANGES.txt AU build.sh A pom.xml AU README.txt A BUILD.txt A DIST_README.txt A NOTICE.txt A LICENSE.txt U . At revision 1718729 [py] $ /home/jenkins/tools/ant/latest/bin/ant -file build.xml test Buildfile: <https://builds.apache.org/job/AVRO-python/ws/trunk/lang/py/build.xml> init: [mkdir] Created dir: <https://builds.apache.org/job/AVRO-python/ws/trunk/lang/py/build> ivy-download: [get] Getting: http://repo2.maven.org/maven2/org/apache/ivy/ivy/2.2.0/ivy-2.2.0.jar [get] To: <https://builds.apache.org/job/AVRO-python/ws/trunk/lang/py/lib/ivy-2.2.0.jar> build: [copy] Copying 14 files to <https://builds.apache.org/job/AVRO-python/ws/trunk/lang/py/build/src> [copy] Copying 19 files to <https://builds.apache.org/job/AVRO-python/ws/trunk/lang/py/build/test> [copy] Copying 10 files to <https://builds.apache.org/job/AVRO-python/ws/trunk/lang/py/build/lib> [copy] Copying 2 files to <https://builds.apache.org/job/AVRO-python/ws/trunk/lang/py/build/src/avro/tether> [copy] Copying 1 file to <https://builds.apache.org/job/AVRO-python/ws/trunk/lang/py/build/src/avro> [copy] Copying 1 file to <https://builds.apache.org/job/AVRO-python/ws/trunk/lang/py/build> [copy] Copying 1 file to <https://builds.apache.org/job/AVRO-python/ws/trunk/lang/py/build/scripts> [copy] Copying 1 file to <https://builds.apache.org/job/AVRO-python/ws/trunk/lang/py/build/test> [ivy:retrieve] :: Ivy 2.2.0 - 20100923230623 :: http://ant.apache.org/ivy/ :: [ivy:retrieve] :: loading settings :: file = <https://builds.apache.org/job/AVRO-python/ws/trunk/lang/py/ivysettings.xml> [ivy:retrieve] :: resolving dependencies :: org.apache.avro#python;working@jenkins-ubuntu-1404-4gb-67e [ivy:retrieve] confs: [default] [ivy:retrieve] :: resolution report :: resolve 1397ms :: artifacts dl 1ms --------------------------------------------------------------------- | | modules || artifacts | | conf | number| search|dwnlded|evicted|| number|dwnlded| --------------------------------------------------------------------- | default | 1 | 0 | 0 | 0 || 0 | 0 | --------------------------------------------------------------------- [ivy:retrieve] [ivy:retrieve] :: problems summary :: [ivy:retrieve] :::: WARNINGS [ivy:retrieve] module not found: org.apache.avro#avro-tools;1.9.0-SNAPSHOT [ivy:retrieve] ==== central: tried [ivy:retrieve] http://repo1.maven.org/maven2/org/apache/avro/avro-tools/1.9.0-SNAPSHOT/avro-tools-1.9.0-SNAPSHOT.pom [ivy:retrieve] -- artifact org.apache.avro#avro-tools;1.9.0-SNAPSHOT!avro-tools.jar: [ivy:retrieve] http://repo1.maven.org/maven2/org/apache/avro/avro-tools/1.9.0-SNAPSHOT/avro-tools-1.9.0-SNAPSHOT.jar [ivy:retrieve] ==== apache-snapshots: tried [ivy:retrieve] https://repository.apache.org/content/groups/snapshots/org/apache/avro/avro-tools/1.9.0-SNAPSHOT/avro-tools-1.9.0-SNAPSHOT.pom [ivy:retrieve] -- artifact org.apache.avro#avro-tools;1.9.0-SNAPSHOT!avro-tools.jar: [ivy:retrieve] https://repository.apache.org/content/groups/snapshots/org/apache/avro/avro-tools/1.9.0-SNAPSHOT/avro-tools-1.9.0-SNAPSHOT.jar [ivy:retrieve] ==== local-maven2: tried [ivy:retrieve] /home/jenkins/.m2/repository/org/apache/avro/avro-tools/1.9.0-SNAPSHOT/avro-tools-1.9.0-SNAPSHOT.xml [ivy:retrieve] -- artifact org.apache.avro#avro-tools;1.9.0-SNAPSHOT!avro-tools.jar: [ivy:retrieve] /home/jenkins/.m2/repository/org/apache/avro/avro-tools/1.9.0-SNAPSHOT/avro-tools-1.9.0-SNAPSHOT.jar [ivy:retrieve] :::::::::::::::::::::::::::::::::::::::::::::: [ivy:retrieve] :: UNRESOLVED DEPENDENCIES :: [ivy:retrieve] :::::::::::::::::::::::::::::::::::::::::::::: [ivy:retrieve] :: org.apache.avro#avro-tools;1.9.0-SNAPSHOT: not found [ivy:retrieve] :::::::::::::::::::::::::::::::::::::::::::::: [ivy:retrieve] :::: ERRORS [ivy:retrieve] Server access Error: java.lang.RuntimeException: Could not generate DH keypair url=https://repository.apache.org/content/groups/snapshots/org/apache/avro/avro-tools/1.9.0-SNAPSHOT/maven-metadata.xml [ivy:retrieve] Server access Error: java.lang.RuntimeException: Could not generate DH keypair url=https://repository.apache.org/content/groups/snapshots/org/apache/avro/avro-tools/1.9.0-SNAPSHOT/avro-tools-1.9.0-SNAPSHOT.pom [ivy:retrieve] Server access Error: java.lang.RuntimeException: Could not generate DH keypair url=https://repository.apache.org/content/groups/snapshots/org/apache/avro/avro-tools/1.9.0-SNAPSHOT/avro-tools-1.9.0-SNAPSHOT.jar [ivy:retrieve] [ivy:retrieve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS BUILD FAILED <https://builds.apache.org/job/AVRO-python/ws/trunk/lang/py/build.xml>:146: impossible to resolve dependencies: resolve failed - see output for details Total time: 3 seconds Build step 'Invoke Ant' marked build as failure
