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

make test: Assertion 'Application::SUCCESS' != 'true_app.run(args)' #181

Closed
fanooel opened this issue Sep 28, 2018 · 3 comments
Closed

make test: Assertion 'Application::SUCCESS' != 'true_app.run(args)' #181

fanooel opened this issue Sep 28, 2018 · 3 comments

Comments

@fanooel
Copy link

fanooel commented Sep 28, 2018

Here is my test.log:

=======================================
   gearmand 1.1.18: ./test-suite.log
=======================================

# TOTAL: 35
# PASS:  25
# SKIP:  7
# XFAIL: 2
# FAIL:  1
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

XFAIL: bin/gearman
==================


/home/tomlee/gearman/gearmand-1.1.18/bin/.libs/gearman	Error in usage(No Functions were provided).

Client mode: /home/tomlee/gearman/gearmand-1.1.18/bin/.libs/gearman [options] [<data>]
Worker mode: /home/tomlee/gearman/gearmand-1.1.18/bin/.libs/gearman -w [options] [<command> [<args> ...]]

Common options to both client and worker modes.
	-f <function> - Function name to use for jobs (can give many)
	-h <host>     - Job server host
	-H            - Print this help menu
	-v            - Print diagnostic information to stdout(false)
	-p <port>     - Job server port
	-t <timeout>  - Timeout in milliseconds
	-i <pidfile>  - Create a pidfile for the process
	-S            - Enable SSL connections

Client options:
	-b            - Run jobs in the background(false)
	-I            - Run jobs as high priority
	-L            - Run jobs as low priority
	-n            - Run one job per line(false)
	-N            - Same as -n, but strip off the newline(false)
	-P            - Prefix all output lines with functions names
	-s            - Send job without reading from standard input
	-u <unique>   - Unique key to use for job

Worker options:
	-c <count>    - Number of jobs for worker to run before exiting
	-n            - Send data packet for each line(false)
	-N            - Same as -n, but strip off the newline(false)
	-w            - Run in worker mode(false)
XFAIL bin/gearman (exit status: 1)

XFAIL: bin/gearadmin
====================

No option execution operation given.

Options:
  --help                         Options related to the program.
  -h [ --host ] arg (=localhost) Connect to the host
  -p [ --port ] arg (=4730)      Port number or service to use for connection
  --server-version               Fetch the version number for the server.
  --server-verbose               Fetch the verbose setting for the server.
  --create-function arg          Create the function from the server.
  --cancel-job arg               Remove a given job from the server's queue
  --drop-function arg            Drop the function from the server.
  --show-unique-jobs             Show unique jobs on server.
  --show-jobs                    Show all jobs on the server.
  --getpid                       Get Process ID for the server.
  --status                       Status for the server.
  --priority-status              Queued jobs status by priority.
  --workers                      Workers for the server.
  -S [ --ssl ]                   Enable SSL connections.

XFAIL bin/gearadmin (exit status: 1)

FAIL: t/unittest
================

unittest.environment.getenv()					0:000000256 [ ok ]
unittest.environment.LIBTOOL_COMMAND					0:000000275 [ ok ]
unittest.environment.VALGRIND_COMMAND					0:000000314 [ ok ]
unittest.environment.HELGRIND_COMMAND					0:000000285 [ ok ]
unittest.environment.GDB_COMMAND					0:000000236 [ ok ]
unittest.environment.valgrind_is_caller()					[ skipped ]
unittest.return values.TEST_SUCCESS					0:000000092 [ ok ]
unittest.return values.TEST_FAILURE					0:000004318 [ ok ]
unittest.return values.TEST_SUCCESS == 0					[ skipped ]
unittest.return values.SUCCESS					0:000002876 [ ok ]
unittest.return values.libtest::__skipped					0:000002559 [ ok ]
unittest.return values.SKIP_IF					0:000002439 [ ok ]
unittest.return values.SKIP_UNLESS					0:000002336 [ ok ]
unittest.return values.FAIL					0:000003170 [ ok ]
unittest.return values.ASSERT_FALSE_					0:000003327 [ ok ]
unittest.return values.ASSERT_FALSE					0:000002548 [ ok ]
unittest.return values.ASSERT_NEQ					0:000000124 [ ok ]
unittest.return values.ASSERT_NEQ FAIL					0:000002618 [ ok ]
unittest.return values.ASSERT_NOT_NULL FAIL					0:000002318 [ ok ]
unittest.test_skip().true, true					0:000000463 [ ok ]
unittest.test_skip().true, false					0:000000195 [ ok ]
unittest.local.test_is_local()					0:000000493 [ ok ]
unittest.local.test_is_local(NOT)					[ skipped ]
unittest.directories.var exists					0:000002399 [ ok ]
unittest.directories.var/tmp exists					0:000001716 [ ok ]
unittest.directories.var/run exists					0:000001313 [ ok ]
unittest.directories.var/log exists					0:000001226 [ ok ]
unittest.directories.var/drizzle exists					0:000001354 [ ok ]
unittest.directories.var/tmp					0:000015784 [ ok ]
unittest.directories.var/run					0:000017353 [ ok ]
unittest.directories.var/log					0:000014663 [ ok ]
unittest.directories.var/drizzle					0:000014474 [ ok ]
unittest.directories.var/tmp rm					0:000015027 [ ok ]
unittest.directories.var/run rm					0:000010105 [ ok ]
unittest.directories.var/log rm					0:000010050 [ ok ]
unittest.directories.var/drizzle rm					0:000010627 [ ok ]
unittest.comparison._compare(test_return_t)					0:000000084 [ ok ]
unittest.gearmand.gearmand startup-shutdown					1:003541183 [ ok ]
unittest.gearmand._compare(gearman_return_t)					0:000001230 [ ok ]
unittest.gearmand.server_startup(fail)					0:000151760 [ ok ]
unittest.cmdline.echo fubar					0:000973155 [ ok ]
unittest.cmdline.core-count					0:048766711 [ ok ]
unittest.cmdline.wait --quiet					0:054152935 [ ok ]
unittest.cmdline.wait --quiet --help					0:033177605 [ ok ]
unittest.cmdline.wait --quiet --version					0:032981318 [ ok ]
unittest.cmdline.wait --quiet /etc/services					0:039545578 [ ok ]
unittest.cmdline.wait /etc/services					0:035871321 [ ok ]
unittest.cmdline.wait /etc/services					[ skipped ]
unittest.cmdline.gdb wait /etc/services					[ skipped ]
unittest.cmdline.gdb abort					[ skipped ]
unittest.application.vchar_t					0:000000822 [ ok ]
unittest.application.vchar_t make() append()					0:000005087 [ ok ]
unittest.application.vchar_t compare()					0:000000484 [ ok ]
unittest.application.true					[ skipped ]
unittest.application.gbd true --fubar					[ skipped ]
unittest.application.gbd true					[ skipped ]
unittest.application.true --fubar					[ skipped ]

libtest/unittest.cc:663: in application_doesnotexist_BINARY() pid(32750) Assertion 'Application::SUCCESS' != 'true_app.run(args)'
unittest.application.doesnotexist --fubar					[ failed ]
unittest.application.echo fubar					0:000000105 [ ok ]
unittest.application.echo fubar (as option)					0:000000161 [ ok ]
unittest.get_free_port().get_free_port()					0:000031279 [ ok ]
unittest.get_free_port().default_port()					0:000000206 [ ok ]
unittest.fatal.libtest::fatal					0:000013143 [ ok ]
unittest.fatal.fatal_message()					0:000007370 [ ok ]
unittest.number_of_cpus().libtest::number_of_cpus()					0:000000079 [ ok ]
unittest.create_tmpfile().libtest::create_tmpfile()					0:000465413 [ ok ]
unittest.dns.libtest::lookup(true)					0:000789980 [ ok ]
unittest.dns.libtest::lookup(false)					0:100686912 [ ok ]
unittest.dns.libtest::check_dns()					0:001774121 [ ok ]
unittest.libtest::Timer.libtest::Timer					0:000001166 [ ok ]
FAIL t/unittest (exit status: 1)

SKIP: t/skip
============

SKIP t/skip (exit status: 77)

SKIP: t/drizzle
===============

SKIP t/drizzle (exit status: 77)

SKIP: t/memcached
=================

SKIP t/memcached (exit status: 77)

SKIP: t/postgres
================

SKIP t/postgres (exit status: 77)

SKIP: t/mysql
=============

SKIP t/mysql (exit status: 77)

SKIP: t/tokyocabinet
====================

SKIP t/tokyocabinet (exit status: 77)

SKIP: t/redis
=============

SKIP t/redis (exit status: 77)
@p-alik
Copy link
Collaborator

p-alik commented Sep 28, 2018

As there was no issue with 1.1.18 release in Travis CI could the issue refer your test environment? Could you describe it, please.

@esabol
Copy link
Member

esabol commented Sep 28, 2018

Operating system/distribution? Compiler version? These are the basic pieces of information you should provide when reporting an issue.

@p-alik
Copy link
Collaborator

p-alik commented Nov 1, 2018

@fanooel, reopen the issue on demand.

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

No branches or pull requests

3 participants