libc / em-redis

An eventmachine-based implementation of the Redis protocol
20 stars 10 forks source link

Tests fail on IPV6-only build machines #5

Open utkarsh2102 opened 3 years ago

utkarsh2102 commented 3 years ago

Hello,

Whilst trying to build on IPV6-only build machines, the tests seem to be failing. Here are the logs:

┌──────────────────────────────────────────────────────────────────────────────┐
│ Run tests for ruby2.7 from debian/ruby-tests.rb                              │
└──────────────────────────────────────────────────────────────────────────────┘

RUBYLIB=/<<PKGBUILDDIR>>/debian/ruby-em-redis/usr/lib/ruby/vendor_ruby:. GEM_PATH=/<<PKGBUILDDIR>>/debian/ruby-em-redis/usr/share/rubygems-integration/all:/var/lib/gems/2.7.0:/usr/local/lib/ruby/gems/2.7.0:/usr/lib/ruby/gems/2.7.0:/usr/lib/x86_64-linux-gnu/ruby/gems/2.7.0:/usr/share/rubygems-integration/2.7.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.7.0 ruby2.7 debian/ruby-tests.rb
/<<PKGBUILDDIR>>/lib/em-redis/redis_protocol.rb:72: warning: key "list_range" is duplicated and overwritten on line 121
/<<PKGBUILDDIR>>/lib/em-redis/redis_protocol.rb:104: warning: key "members" is duplicated and overwritten on line 135
EventMachine::Protocols::Redis
  - should be able to provide a logger [ERROR: EventMachine::ConnectionError]
  - should be able to PING [ERROR: EventMachine::ConnectionError]
  - should be able to GET a key [ERROR: EventMachine::ConnectionError]
  - should be able to SET a key [ERROR: EventMachine::ConnectionError]
  - should properly handle trailing newline characters [ERROR: EventMachine::ConnectionError]
  - should store and retrieve all possible characters at the beginning and the end of a string [ERROR: EventMachine::ConnectionError]
  - should be able to SET a key with an expiry [ERROR: EventMachine::ConnectionError]
  - should be able to return a TTL for a key [ERROR: EventMachine::ConnectionError]
  - should be able to SETNX [ERROR: EventMachine::ConnectionError]
  - should be able to GETSET [ERROR: EventMachine::ConnectionError]
  - should be able to INCR a key [ERROR: EventMachine::ConnectionError]
  - should be able to INCRBY a key [ERROR: EventMachine::ConnectionError]
  - should be able to DECR a key [ERROR: EventMachine::ConnectionError]
  - should be able to RANDKEY [ERROR: EventMachine::ConnectionError]
  - should be able to RENAME a key [ERROR: EventMachine::ConnectionError]
  - should be able to RENAMENX a key [ERROR: EventMachine::ConnectionError]
  - should be able to get DBSIZE of the database [ERROR: EventMachine::ConnectionError]
  - should be able to EXPIRE a key [ERROR: EventMachine::ConnectionError]
  - should be able to EXISTS [ERROR: EventMachine::ConnectionError]
  - should be able to KEYS [ERROR: EventMachine::ConnectionError]
  - should be able to return a random key (RANDOMKEY) [ERROR: EventMachine::ConnectionError]
  - should be able to check the TYPE of a key [ERROR: EventMachine::ConnectionError]
  - should be able to push to the head of a list (LPUSH) [ERROR: EventMachine::ConnectionError]
  - should be able to push to the tail of a list (RPUSH) [ERROR: EventMachine::ConnectionError]
  - should be able to pop the tail of a list (RPOP) [ERROR: EventMachine::ConnectionError]
  - should be able to pop the head of a list (LPOP) [ERROR: EventMachine::ConnectionError]
  - should be able to get the length of a list (LLEN) [ERROR: EventMachine::ConnectionError]
  - should be able to get a range of values from a list (LRANGE) [ERROR: EventMachine::ConnectionError]
  - should be able to trim a list (LTRIM) [ERROR: EventMachine::ConnectionError]
  - should be able to get a value by indexing into a list (LINDEX) [ERROR: EventMachine::ConnectionError]
  - should be able to set a value by indexing into a list (LSET) [ERROR: EventMachine::ConnectionError]
  - should be able to remove values from a list (LREM) [ERROR: EventMachine::ConnectionError]
  - should be able to pop values from a list and push them onto a temp list(RPOPLPUSH) [ERROR: EventMachine::ConnectionError]
  - should be able add members to a set (SADD) [ERROR: EventMachine::ConnectionError]
  - should be able delete members to a set (SREM) [ERROR: EventMachine::ConnectionError]
  - should be able to return and remove random key from set (SPOP) [ERROR: EventMachine::ConnectionError]
  - should be able to return random key without delete the key from a set (SRANDMEMBER) [ERROR: EventMachine::ConnectionError]
  - should be able count the members of a set (SCARD) [ERROR: EventMachine::ConnectionError]
  - should be able test for set membership (SISMEMBER) [ERROR: EventMachine::ConnectionError]
  - should be able to do set intersection (SINTER) [ERROR: EventMachine::ConnectionError]
  - should be able to do set intersection and store the results in a key (SINTERSTORE) [ERROR: EventMachine::ConnectionError]
  - should be able to do set union (SUNION) [ERROR: EventMachine::ConnectionError]
  - should be able to do set union and store the results in a key (SUNIONSTORE) [ERROR: EventMachine::ConnectionError]
  - should be able to do set difference (SDIFF) [ERROR: EventMachine::ConnectionError]
  - should be able to do set difference and store the results in a key (SDIFFSTORE) [ERROR: EventMachine::ConnectionError]
  - should be able move elements from one set to another (SMOVE) [ERROR: EventMachine::ConnectionError]
  - should be able to do crazy SORT queries [ERROR: EventMachine::ConnectionError]
  - should be able to handle array of :get using SORT [ERROR: EventMachine::ConnectionError]
  - should be able count the members of a zset [ERROR: EventMachine::ConnectionError]
  - should be able add members to a zset [ERROR: EventMachine::ConnectionError]
  - should be able delete members to a zset [ERROR: EventMachine::ConnectionError]
  - should be able to get a range of values from a zset [ERROR: EventMachine::ConnectionError]
  - should be able to get a reverse range of values from a zset [ERROR: EventMachine::ConnectionError]
  - should be able to get a range by score of values from a zset [ERROR: EventMachine::ConnectionError]
  - should be able to get a score for a specific value in a zset (ZSCORE) [ERROR: EventMachine::ConnectionError]
  - should be able to increment a range score of a zset (ZINCRBY) [ERROR: EventMachine::ConnectionError]
  - should provide info (INFO) [ERROR: EventMachine::ConnectionError]
  - should be able to flush the database (FLUSHDB) [ERROR: EventMachine::ConnectionError]
  - should be able to SELECT database [ERROR: EventMachine::ConnectionError]
  - should be able to provide the last save time (LASTSAVE) [ERROR: EventMachine::ConnectionError]
  - should be able to MGET keys [ERROR: EventMachine::ConnectionError]
  - should be able to mapped MGET keys [ERROR: EventMachine::ConnectionError]
  - should be able to MSET values [ERROR: EventMachine::ConnectionError]
  - should be able to MSETNX values [ERROR: EventMachine::ConnectionError]
  - should bgsave [ERROR: EventMachine::ConnectionError]
  - should be able to ECHO [ERROR: EventMachine::ConnectionError]
  - should run MULTI without a block [ERROR: EventMachine::ConnectionError]
  - should run MULTI/EXEC with a block [ERROR: EventMachine::ConnectionError]
  - should yield the Redis object when using #multi with a block [ERROR: EventMachine::ConnectionError]
  - can set and get hash values [ERROR: EventMachine::ConnectionError]
  - can delete hash values [ERROR: EventMachine::ConnectionError]

EventMachine::Protocols::Redis with some hash values
  - can get the length of the hash [ERROR: EventMachine::ConnectionError]
  - can get the keys and values of the hash [ERROR: EventMachine::ConnectionError]
  - returns a hash for HGETALL [ERROR: EventMachine::ConnectionError]

EventMachine::Protocols::Redis with nested multi-bulk response
  - returns array of arrays [ERROR: EventMachine::ConnectionError]

EventMachine::Protocols::Redis
  - should send commands correctly
  - should send integers in commands correctly
  - should send sort command
  - should send sort command with all optional parameters
  - should parse keys response into an array
  - should parse an inline response
  - should parse an inline integer response
  - should call processor if any
  - should parse an inline error response
  - should trigger a given error callback (specified with on_error) for inline error response instead of raising an error
  - should trigger a given error callback for inline error response instead of raising an error
  - should parse a bulk response
  - should distinguish nil in a bulk response
  - should parse a multi-bulk response
  - should distinguish nil in a multi-bulk response

EventMachine::ConnectionError: unable to resolve address: Address family for hostname not supported
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `connect_server': EventMachine::Protocols::Redis - should be able to provide a logger
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `bind_connect'
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:655:in `connect'
    /<<PKGBUILDDIR>>/lib/em-redis/redis_protocol.rb:321:in `connect'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:9:in `block (2 levels) in <top (required)>'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:16:in `block in <top (required)>'

EventMachine::ConnectionError: unable to resolve address: Address family for hostname not supported
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `connect_server': EventMachine::Protocols::Redis - should be able to PING
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `bind_connect'
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:655:in `connect'
    /<<PKGBUILDDIR>>/lib/em-redis/redis_protocol.rb:321:in `connect'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:9:in `block (2 levels) in <top (required)>'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:25:in `block in <top (required)>'

EventMachine::ConnectionError: unable to resolve address: Address family for hostname not supported
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `connect_server': EventMachine::Protocols::Redis - should be able to GET a key
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `bind_connect'
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:655:in `connect'
    /<<PKGBUILDDIR>>/lib/em-redis/redis_protocol.rb:321:in `connect'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:9:in `block (2 levels) in <top (required)>'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:29:in `block in <top (required)>'

EventMachine::ConnectionError: unable to resolve address: Address family for hostname not supported
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `connect_server': EventMachine::Protocols::Redis - should be able to SET a key
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `bind_connect'
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:655:in `connect'
    /<<PKGBUILDDIR>>/lib/em-redis/redis_protocol.rb:321:in `connect'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:9:in `block (2 levels) in <top (required)>'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:33:in `block in <top (required)>'

EventMachine::ConnectionError: unable to resolve address: Address family for hostname not supported
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `connect_server': EventMachine::Protocols::Redis - should properly handle trailing newline characters
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `bind_connect'
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:655:in `connect'
    /<<PKGBUILDDIR>>/lib/em-redis/redis_protocol.rb:321:in `connect'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:9:in `block (2 levels) in <top (required)>'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:38:in `block in <top (required)>'

EventMachine::ConnectionError: unable to resolve address: Address family for hostname not supported
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `connect_server': EventMachine::Protocols::Redis - should store and retrieve all possible characters at the beginning and the end of a string
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `bind_connect'
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:655:in `connect'
    /<<PKGBUILDDIR>>/lib/em-redis/redis_protocol.rb:321:in `connect'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:9:in `block (2 levels) in <top (required)>'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:43:in `block in <top (required)>'

EventMachine::ConnectionError: unable to resolve address: Address family for hostname not supported
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `connect_server': EventMachine::Protocols::Redis - should be able to SET a key with an expiry
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `bind_connect'
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:655:in `connect'
    /<<PKGBUILDDIR>>/lib/em-redis/redis_protocol.rb:321:in `connect'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:9:in `block (2 levels) in <top (required)>'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:52:in `block in <top (required)>'

EventMachine::ConnectionError: unable to resolve address: Address family for hostname not supported
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `connect_server': EventMachine::Protocols::Redis - should be able to return a TTL for a key
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `bind_connect'
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:655:in `connect'
    /<<PKGBUILDDIR>>/lib/em-redis/redis_protocol.rb:321:in `connect'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:9:in `block (2 levels) in <top (required)>'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:63:in `block in <top (required)>'

EventMachine::ConnectionError: unable to resolve address: Address family for hostname not supported
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `connect_server': EventMachine::Protocols::Redis - should be able to SETNX
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `bind_connect'
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:655:in `connect'
    /<<PKGBUILDDIR>>/lib/em-redis/redis_protocol.rb:321:in `connect'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:9:in `block (2 levels) in <top (required)>'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:68:in `block in <top (required)>'

EventMachine::ConnectionError: unable to resolve address: Address family for hostname not supported
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `connect_server': EventMachine::Protocols::Redis - should be able to GETSET
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `bind_connect'
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:655:in `connect'
    /<<PKGBUILDDIR>>/lib/em-redis/redis_protocol.rb:321:in `connect'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:9:in `block (2 levels) in <top (required)>'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:77:in `block in <top (required)>'

EventMachine::ConnectionError: unable to resolve address: Address family for hostname not supported
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `connect_server': EventMachine::Protocols::Redis - should be able to INCR a key
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `bind_connect'
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:655:in `connect'
    /<<PKGBUILDDIR>>/lib/em-redis/redis_protocol.rb:321:in `connect'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:9:in `block (2 levels) in <top (required)>'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:82:in `block in <top (required)>'

EventMachine::ConnectionError: unable to resolve address: Address family for hostname not supported
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `connect_server': EventMachine::Protocols::Redis - should be able to INCRBY a key
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `bind_connect'
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:655:in `connect'
    /<<PKGBUILDDIR>>/lib/em-redis/redis_protocol.rb:321:in `connect'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:9:in `block (2 levels) in <top (required)>'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:91:in `block in <top (required)>'

EventMachine::ConnectionError: unable to resolve address: Address family for hostname not supported
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `connect_server': EventMachine::Protocols::Redis - should be able to DECR a key
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `bind_connect'
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:655:in `connect'
    /<<PKGBUILDDIR>>/lib/em-redis/redis_protocol.rb:321:in `connect'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:9:in `block (2 levels) in <top (required)>'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:100:in `block in <top (required)>'

EventMachine::ConnectionError: unable to resolve address: Address family for hostname not supported
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `connect_server': EventMachine::Protocols::Redis - should be able to RANDKEY
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `bind_connect'
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:655:in `connect'
    /<<PKGBUILDDIR>>/lib/em-redis/redis_protocol.rb:321:in `connect'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:9:in `block (2 levels) in <top (required)>'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:109:in `block in <top (required)>'

EventMachine::ConnectionError: unable to resolve address: Address family for hostname not supported
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `connect_server': EventMachine::Protocols::Redis - should be able to RENAME a key
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `bind_connect'
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:655:in `connect'
    /<<PKGBUILDDIR>>/lib/em-redis/redis_protocol.rb:321:in `connect'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:9:in `block (2 levels) in <top (required)>'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:113:in `block in <top (required)>'

EventMachine::ConnectionError: unable to resolve address: Address family for hostname not supported
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `connect_server': EventMachine::Protocols::Redis - should be able to RENAMENX a key
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `bind_connect'
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:655:in `connect'
    /<<PKGBUILDDIR>>/lib/em-redis/redis_protocol.rb:321:in `connect'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:9:in `block (2 levels) in <top (required)>'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:121:in `block in <top (required)>'

EventMachine::ConnectionError: unable to resolve address: Address family for hostname not supported
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `connect_server': EventMachine::Protocols::Redis - should be able to get DBSIZE of the database
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `bind_connect'
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:655:in `connect'
    /<<PKGBUILDDIR>>/lib/em-redis/redis_protocol.rb:321:in `connect'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:9:in `block (2 levels) in <top (required)>'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:130:in `block in <top (required)>'

EventMachine::ConnectionError: unable to resolve address: Address family for hostname not supported
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `connect_server': EventMachine::Protocols::Redis - should be able to EXPIRE a key
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `bind_connect'
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:655:in `connect'
    /<<PKGBUILDDIR>>/lib/em-redis/redis_protocol.rb:321:in `connect'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:9:in `block (2 levels) in <top (required)>'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:143:in `block in <top (required)>'

EventMachine::ConnectionError: unable to resolve address: Address family for hostname not supported
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `connect_server': EventMachine::Protocols::Redis - should be able to EXISTS
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `bind_connect'
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:655:in `connect'
    /<<PKGBUILDDIR>>/lib/em-redis/redis_protocol.rb:321:in `connect'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:9:in `block (2 levels) in <top (required)>'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:155:in `block in <top (required)>'

EventMachine::ConnectionError: unable to resolve address: Address family for hostname not supported
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `connect_server': EventMachine::Protocols::Redis - should be able to KEYS
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `bind_connect'
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:655:in `connect'
    /<<PKGBUILDDIR>>/lib/em-redis/redis_protocol.rb:321:in `connect'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:9:in `block (2 levels) in <top (required)>'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:162:in `block in <top (required)>'

EventMachine::ConnectionError: unable to resolve address: Address family for hostname not supported
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `connect_server': EventMachine::Protocols::Redis - should be able to return a random key (RANDOMKEY)
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `bind_connect'
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:655:in `connect'
    /<<PKGBUILDDIR>>/lib/em-redis/redis_protocol.rb:321:in `connect'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:9:in `block (2 levels) in <top (required)>'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:172:in `block in <top (required)>'

EventMachine::ConnectionError: unable to resolve address: Address family for hostname not supported
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `connect_server': EventMachine::Protocols::Redis - should be able to check the TYPE of a key
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `bind_connect'
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:655:in `connect'
    /<<PKGBUILDDIR>>/lib/em-redis/redis_protocol.rb:321:in `connect'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:9:in `block (2 levels) in <top (required)>'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:183:in `block in <top (required)>'

EventMachine::ConnectionError: unable to resolve address: Address family for hostname not supported
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `connect_server': EventMachine::Protocols::Redis - should be able to push to the head of a list (LPUSH)
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `bind_connect'
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:655:in `connect'
    /<<PKGBUILDDIR>>/lib/em-redis/redis_protocol.rb:321:in `connect'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:9:in `block (2 levels) in <top (required)>'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:190:in `block in <top (required)>'

EventMachine::ConnectionError: unable to resolve address: Address family for hostname not supported
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `connect_server': EventMachine::Protocols::Redis - should be able to push to the tail of a list (RPUSH)
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `bind_connect'
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:655:in `connect'
    /<<PKGBUILDDIR>>/lib/em-redis/redis_protocol.rb:321:in `connect'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:9:in `block (2 levels) in <top (required)>'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:198:in `block in <top (required)>'

EventMachine::ConnectionError: unable to resolve address: Address family for hostname not supported
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `connect_server': EventMachine::Protocols::Redis - should be able to pop the tail of a list (RPOP)
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `bind_connect'
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:655:in `connect'
    /<<PKGBUILDDIR>>/lib/em-redis/redis_protocol.rb:321:in `connect'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:9:in `block (2 levels) in <top (required)>'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:204:in `block in <top (required)>'

EventMachine::ConnectionError: unable to resolve address: Address family for hostname not supported
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `connect_server': EventMachine::Protocols::Redis - should be able to pop the head of a list (LPOP)
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `bind_connect'
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:655:in `connect'
    /<<PKGBUILDDIR>>/lib/em-redis/redis_protocol.rb:321:in `connect'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:9:in `block (2 levels) in <top (required)>'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:212:in `block in <top (required)>'

EventMachine::ConnectionError: unable to resolve address: Address family for hostname not supported
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `connect_server': EventMachine::Protocols::Redis - should be able to get the length of a list (LLEN)
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `bind_connect'
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:655:in `connect'
    /<<PKGBUILDDIR>>/lib/em-redis/redis_protocol.rb:321:in `connect'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:9:in `block (2 levels) in <top (required)>'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:220:in `block in <top (required)>'

EventMachine::ConnectionError: unable to resolve address: Address family for hostname not supported
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `connect_server': EventMachine::Protocols::Redis - should be able to get a range of values from a list (LRANGE)
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `bind_connect'
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:655:in `connect'
    /<<PKGBUILDDIR>>/lib/em-redis/redis_protocol.rb:321:in `connect'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:9:in `block (2 levels) in <top (required)>'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:227:in `block in <top (required)>'

EventMachine::ConnectionError: unable to resolve address: Address family for hostname not supported
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `connect_server': EventMachine::Protocols::Redis - should be able to trim a list (LTRIM)
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `bind_connect'
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:655:in `connect'
    /<<PKGBUILDDIR>>/lib/em-redis/redis_protocol.rb:321:in `connect'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:9:in `block (2 levels) in <top (required)>'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:238:in `block in <top (required)>'

EventMachine::ConnectionError: unable to resolve address: Address family for hostname not supported
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `connect_server': EventMachine::Protocols::Redis - should be able to get a value by indexing into a list (LINDEX)
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `bind_connect'
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:655:in `connect'
    /<<PKGBUILDDIR>>/lib/em-redis/redis_protocol.rb:321:in `connect'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:9:in `block (2 levels) in <top (required)>'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:251:in `block in <top (required)>'

EventMachine::ConnectionError: unable to resolve address: Address family for hostname not supported
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `connect_server': EventMachine::Protocols::Redis - should be able to set a value by indexing into a list (LSET)
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `bind_connect'
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:655:in `connect'
    /<<PKGBUILDDIR>>/lib/em-redis/redis_protocol.rb:321:in `connect'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:9:in `block (2 levels) in <top (required)>'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:259:in `block in <top (required)>'

EventMachine::ConnectionError: unable to resolve address: Address family for hostname not supported
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `connect_server': EventMachine::Protocols::Redis - should be able to remove values from a list (LREM)
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `bind_connect'
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:655:in `connect'
    /<<PKGBUILDDIR>>/lib/em-redis/redis_protocol.rb:321:in `connect'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:9:in `block (2 levels) in <top (required)>'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:268:in `block in <top (required)>'

EventMachine::ConnectionError: unable to resolve address: Address family for hostname not supported
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `connect_server': EventMachine::Protocols::Redis - should be able to pop values from a list and push them onto a temp list(RPOPLPUSH)
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `bind_connect'
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:655:in `connect'
    /<<PKGBUILDDIR>>/lib/em-redis/redis_protocol.rb:321:in `connect'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:9:in `block (2 levels) in <top (required)>'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:277:in `block in <top (required)>'

EventMachine::ConnectionError: unable to resolve address: Address family for hostname not supported
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `connect_server': EventMachine::Protocols::Redis - should be able add members to a set (SADD)
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `bind_connect'
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:655:in `connect'
    /<<PKGBUILDDIR>>/lib/em-redis/redis_protocol.rb:321:in `connect'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:9:in `block (2 levels) in <top (required)>'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:293:in `block in <top (required)>'

EventMachine::ConnectionError: unable to resolve address: Address family for hostname not supported
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `connect_server': EventMachine::Protocols::Redis - should be able delete members to a set (SREM)
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `bind_connect'
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:655:in `connect'
    /<<PKGBUILDDIR>>/lib/em-redis/redis_protocol.rb:321:in `connect'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:9:in `block (2 levels) in <top (required)>'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:301:in `block in <top (required)>'

EventMachine::ConnectionError: unable to resolve address: Address family for hostname not supported
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `connect_server': EventMachine::Protocols::Redis - should be able to return and remove random key from set (SPOP)
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `bind_connect'
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:655:in `connect'
    /<<PKGBUILDDIR>>/lib/em-redis/redis_protocol.rb:321:in `connect'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:9:in `block (2 levels) in <top (required)>'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:312:in `block in <top (required)>'

EventMachine::ConnectionError: unable to resolve address: Address family for hostname not supported
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `connect_server': EventMachine::Protocols::Redis - should be able to return random key without delete the key from a set (SRANDMEMBER)
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `bind_connect'
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:655:in `connect'
    /<<PKGBUILDDIR>>/lib/em-redis/redis_protocol.rb:321:in `connect'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:9:in `block (2 levels) in <top (required)>'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:319:in `block in <top (required)>'

EventMachine::ConnectionError: unable to resolve address: Address family for hostname not supported
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `connect_server': EventMachine::Protocols::Redis - should be able count the members of a set (SCARD)
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `bind_connect'
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:655:in `connect'
    /<<PKGBUILDDIR>>/lib/em-redis/redis_protocol.rb:321:in `connect'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:9:in `block (2 levels) in <top (required)>'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:326:in `block in <top (required)>'

EventMachine::ConnectionError: unable to resolve address: Address family for hostname not supported
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `connect_server': EventMachine::Protocols::Redis - should be able test for set membership (SISMEMBER)
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `bind_connect'
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:655:in `connect'
    /<<PKGBUILDDIR>>/lib/em-redis/redis_protocol.rb:321:in `connect'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:9:in `block (2 levels) in <top (required)>'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:333:in `block in <top (required)>'

EventMachine::ConnectionError: unable to resolve address: Address family for hostname not supported
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `connect_server': EventMachine::Protocols::Redis - should be able to do set intersection (SINTER)
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `bind_connect'
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:655:in `connect'
    /<<PKGBUILDDIR>>/lib/em-redis/redis_protocol.rb:321:in `connect'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:9:in `block (2 levels) in <top (required)>'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:343:in `block in <top (required)>'

EventMachine::ConnectionError: unable to resolve address: Address family for hostname not supported
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `connect_server': EventMachine::Protocols::Redis - should be able to do set intersection and store the results in a key (SINTERSTORE)
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `bind_connect'
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:655:in `connect'
    /<<PKGBUILDDIR>>/lib/em-redis/redis_protocol.rb:321:in `connect'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:9:in `block (2 levels) in <top (required)>'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:350:in `block in <top (required)>'

EventMachine::ConnectionError: unable to resolve address: Address family for hostname not supported
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `connect_server': EventMachine::Protocols::Redis - should be able to do set union (SUNION)
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `bind_connect'
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:655:in `connect'
    /<<PKGBUILDDIR>>/lib/em-redis/redis_protocol.rb:321:in `connect'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:9:in `block (2 levels) in <top (required)>'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:358:in `block in <top (required)>'

EventMachine::ConnectionError: unable to resolve address: Address family for hostname not supported
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `connect_server': EventMachine::Protocols::Redis - should be able to do set union and store the results in a key (SUNIONSTORE)
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `bind_connect'
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:655:in `connect'
    /<<PKGBUILDDIR>>/lib/em-redis/redis_protocol.rb:321:in `connect'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:9:in `block (2 levels) in <top (required)>'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:366:in `block in <top (required)>'

EventMachine::ConnectionError: unable to resolve address: Address family for hostname not supported
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `connect_server': EventMachine::Protocols::Redis - should be able to do set difference (SDIFF)
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `bind_connect'
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:655:in `connect'
    /<<PKGBUILDDIR>>/lib/em-redis/redis_protocol.rb:321:in `connect'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:9:in `block (2 levels) in <top (required)>'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:375:in `block in <top (required)>'

EventMachine::ConnectionError: unable to resolve address: Address family for hostname not supported
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `connect_server': EventMachine::Protocols::Redis - should be able to do set difference and store the results in a key (SDIFFSTORE)
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `bind_connect'
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:655:in `connect'
    /<<PKGBUILDDIR>>/lib/em-redis/redis_protocol.rb:321:in `connect'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:9:in `block (2 levels) in <top (required)>'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:383:in `block in <top (required)>'

EventMachine::ConnectionError: unable to resolve address: Address family for hostname not supported
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `connect_server': EventMachine::Protocols::Redis - should be able move elements from one set to another (SMOVE)
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `bind_connect'
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:655:in `connect'
    /<<PKGBUILDDIR>>/lib/em-redis/redis_protocol.rb:321:in `connect'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:9:in `block (2 levels) in <top (required)>'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:392:in `block in <top (required)>'

EventMachine::ConnectionError: unable to resolve address: Address family for hostname not supported
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `connect_server': EventMachine::Protocols::Redis - should be able to do crazy SORT queries
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `bind_connect'
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:655:in `connect'
    /<<PKGBUILDDIR>>/lib/em-redis/redis_protocol.rb:321:in `connect'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:9:in `block (2 levels) in <top (required)>'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:401:in `block in <top (required)>'

EventMachine::ConnectionError: unable to resolve address: Address family for hostname not supported
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `connect_server': EventMachine::Protocols::Redis - should be able to handle array of :get using SORT
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `bind_connect'
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:655:in `connect'
    /<<PKGBUILDDIR>>/lib/em-redis/redis_protocol.rb:321:in `connect'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:9:in `block (2 levels) in <top (required)>'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:416:in `block in <top (required)>'

EventMachine::ConnectionError: unable to resolve address: Address family for hostname not supported
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `connect_server': EventMachine::Protocols::Redis - should be able count the members of a zset
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `bind_connect'
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:655:in `connect'
    /<<PKGBUILDDIR>>/lib/em-redis/redis_protocol.rb:321:in `connect'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:9:in `block (2 levels) in <top (required)>'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:434:in `block in <top (required)>'

EventMachine::ConnectionError: unable to resolve address: Address family for hostname not supported
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `connect_server': EventMachine::Protocols::Redis - should be able add members to a zset
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `bind_connect'
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:655:in `connect'
    /<<PKGBUILDDIR>>/lib/em-redis/redis_protocol.rb:321:in `connect'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:9:in `block (2 levels) in <top (required)>'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:443:in `block in <top (required)>'

EventMachine::ConnectionError: unable to resolve address: Address family for hostname not supported
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `connect_server': EventMachine::Protocols::Redis - should be able delete members to a zset
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `bind_connect'
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:655:in `connect'
    /<<PKGBUILDDIR>>/lib/em-redis/redis_protocol.rb:321:in `connect'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:9:in `block (2 levels) in <top (required)>'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:453:in `block in <top (required)>'

EventMachine::ConnectionError: unable to resolve address: Address family for hostname not supported
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `connect_server': EventMachine::Protocols::Redis - should be able to get a range of values from a zset
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `bind_connect'
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:655:in `connect'
    /<<PKGBUILDDIR>>/lib/em-redis/redis_protocol.rb:321:in `connect'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:9:in `block (2 levels) in <top (required)>'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:471:in `block in <top (required)>'

EventMachine::ConnectionError: unable to resolve address: Address family for hostname not supported
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `connect_server': EventMachine::Protocols::Redis - should be able to get a reverse range of values from a zset
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `bind_connect'
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:655:in `connect'
    /<<PKGBUILDDIR>>/lib/em-redis/redis_protocol.rb:321:in `connect'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:9:in `block (2 levels) in <top (required)>'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:491:in `block in <top (required)>'

EventMachine::ConnectionError: unable to resolve address: Address family for hostname not supported
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `connect_server': EventMachine::Protocols::Redis - should be able to get a range by score of values from a zset
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `bind_connect'
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:655:in `connect'
    /<<PKGBUILDDIR>>/lib/em-redis/redis_protocol.rb:321:in `connect'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:9:in `block (2 levels) in <top (required)>'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:511:in `block in <top (required)>'

EventMachine::ConnectionError: unable to resolve address: Address family for hostname not supported
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `connect_server': EventMachine::Protocols::Redis - should be able to get a score for a specific value in a zset (ZSCORE)
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `bind_connect'
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:655:in `connect'
    /<<PKGBUILDDIR>>/lib/em-redis/redis_protocol.rb:321:in `connect'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:9:in `block (2 levels) in <top (required)>'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:531:in `block in <top (required)>'

EventMachine::ConnectionError: unable to resolve address: Address family for hostname not supported
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `connect_server': EventMachine::Protocols::Redis - should be able to increment a range score of a zset (ZINCRBY)
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `bind_connect'
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:655:in `connect'
    /<<PKGBUILDDIR>>/lib/em-redis/redis_protocol.rb:321:in `connect'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:9:in `block (2 levels) in <top (required)>'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:541:in `block in <top (required)>'

EventMachine::ConnectionError: unable to resolve address: Address family for hostname not supported
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `connect_server': EventMachine::Protocols::Redis - should provide info (INFO)
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `bind_connect'
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:655:in `connect'
    /<<PKGBUILDDIR>>/lib/em-redis/redis_protocol.rb:321:in `connect'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:9:in `block (2 levels) in <top (required)>'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:564:in `block in <top (required)>'

EventMachine::ConnectionError: unable to resolve address: Address family for hostname not supported
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `connect_server': EventMachine::Protocols::Redis - should be able to flush the database (FLUSHDB)
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `bind_connect'
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:655:in `connect'
    /<<PKGBUILDDIR>>/lib/em-redis/redis_protocol.rb:321:in `connect'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:9:in `block (2 levels) in <top (required)>'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:573:in `block in <top (required)>'

EventMachine::ConnectionError: unable to resolve address: Address family for hostname not supported
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `connect_server': EventMachine::Protocols::Redis - should be able to SELECT database
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `bind_connect'
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:655:in `connect'
    /<<PKGBUILDDIR>>/lib/em-redis/redis_protocol.rb:321:in `connect'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:9:in `block (2 levels) in <top (required)>'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:581:in `block in <top (required)>'

EventMachine::ConnectionError: unable to resolve address: Address family for hostname not supported
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `connect_server': EventMachine::Protocols::Redis - should be able to provide the last save time (LASTSAVE)
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `bind_connect'
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:655:in `connect'
    /<<PKGBUILDDIR>>/lib/em-redis/redis_protocol.rb:321:in `connect'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:9:in `block (2 levels) in <top (required)>'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:586:in `block in <top (required)>'

EventMachine::ConnectionError: unable to resolve address: Address family for hostname not supported
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `connect_server': EventMachine::Protocols::Redis - should be able to MGET keys
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `bind_connect'
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:655:in `connect'
    /<<PKGBUILDDIR>>/lib/em-redis/redis_protocol.rb:321:in `connect'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:9:in `block (2 levels) in <top (required)>'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:594:in `block in <top (required)>'

EventMachine::ConnectionError: unable to resolve address: Address family for hostname not supported
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `connect_server': EventMachine::Protocols::Redis - should be able to mapped MGET keys
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `bind_connect'
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:655:in `connect'
    /<<PKGBUILDDIR>>/lib/em-redis/redis_protocol.rb:321:in `connect'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:9:in `block (2 levels) in <top (required)>'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:602:in `block in <top (required)>'

EventMachine::ConnectionError: unable to resolve address: Address family for hostname not supported
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `connect_server': EventMachine::Protocols::Redis - should be able to MSET values
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `bind_connect'
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:655:in `connect'
    /<<PKGBUILDDIR>>/lib/em-redis/redis_protocol.rb:321:in `connect'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:9:in `block (2 levels) in <top (required)>'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:610:in `block in <top (required)>'

EventMachine::ConnectionError: unable to resolve address: Address family for hostname not supported
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `connect_server': EventMachine::Protocols::Redis - should be able to MSETNX values
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `bind_connect'
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:655:in `connect'
    /<<PKGBUILDDIR>>/lib/em-redis/redis_protocol.rb:321:in `connect'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:9:in `block (2 levels) in <top (required)>'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:616:in `block in <top (required)>'

EventMachine::ConnectionError: unable to resolve address: Address family for hostname not supported
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `connect_server': EventMachine::Protocols::Redis - should bgsave
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `bind_connect'
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:655:in `connect'
    /<<PKGBUILDDIR>>/lib/em-redis/redis_protocol.rb:321:in `connect'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:9:in `block (2 levels) in <top (required)>'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:626:in `block in <top (required)>'

EventMachine::ConnectionError: unable to resolve address: Address family for hostname not supported
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `connect_server': EventMachine::Protocols::Redis - should be able to ECHO
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `bind_connect'
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:655:in `connect'
    /<<PKGBUILDDIR>>/lib/em-redis/redis_protocol.rb:321:in `connect'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:9:in `block (2 levels) in <top (required)>'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:633:in `block in <top (required)>'

EventMachine::ConnectionError: unable to resolve address: Address family for hostname not supported
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `connect_server': EventMachine::Protocols::Redis - should run MULTI without a block
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `bind_connect'
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:655:in `connect'
    /<<PKGBUILDDIR>>/lib/em-redis/redis_protocol.rb:321:in `connect'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:9:in `block (2 levels) in <top (required)>'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:650:in `block in <top (required)>'

EventMachine::ConnectionError: unable to resolve address: Address family for hostname not supported
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `connect_server': EventMachine::Protocols::Redis - should run MULTI/EXEC with a block
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `bind_connect'
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:655:in `connect'
    /<<PKGBUILDDIR>>/lib/em-redis/redis_protocol.rb:321:in `connect'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:9:in `block (2 levels) in <top (required)>'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:656:in `block in <top (required)>'

EventMachine::ConnectionError: unable to resolve address: Address family for hostname not supported
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `connect_server': EventMachine::Protocols::Redis - should yield the Redis object when using #multi with a block
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `bind_connect'
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:655:in `connect'
    /<<PKGBUILDDIR>>/lib/em-redis/redis_protocol.rb:321:in `connect'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:9:in `block (2 levels) in <top (required)>'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:676:in `block in <top (required)>'

EventMachine::ConnectionError: unable to resolve address: Address family for hostname not supported
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `connect_server': EventMachine::Protocols::Redis - can set and get hash values
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `bind_connect'
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:655:in `connect'
    /<<PKGBUILDDIR>>/lib/em-redis/redis_protocol.rb:321:in `connect'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:9:in `block (2 levels) in <top (required)>'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:684:in `block in <top (required)>'

EventMachine::ConnectionError: unable to resolve address: Address family for hostname not supported
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `connect_server': EventMachine::Protocols::Redis - can delete hash values
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `bind_connect'
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:655:in `connect'
    /<<PKGBUILDDIR>>/lib/em-redis/redis_protocol.rb:321:in `connect'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:9:in `block (2 levels) in <top (required)>'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:690:in `block in <top (required)>'

EventMachine::ConnectionError: unable to resolve address: Address family for hostname not supported
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `connect_server': EventMachine::Protocols::Redis with some hash values - can get the length of the hash
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `bind_connect'
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:655:in `connect'
    /<<PKGBUILDDIR>>/lib/em-redis/redis_protocol.rb:321:in `connect'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:702:in `block (2 levels) in <top (required)>'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:712:in `block in <top (required)>'

EventMachine::ConnectionError: unable to resolve address: Address family for hostname not supported
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `connect_server': EventMachine::Protocols::Redis with some hash values - can get the keys and values of the hash
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `bind_connect'
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:655:in `connect'
    /<<PKGBUILDDIR>>/lib/em-redis/redis_protocol.rb:321:in `connect'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:702:in `block (2 levels) in <top (required)>'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:717:in `block in <top (required)>'

EventMachine::ConnectionError: unable to resolve address: Address family for hostname not supported
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `connect_server': EventMachine::Protocols::Redis with some hash values - returns a hash for HGETALL
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `bind_connect'
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:655:in `connect'
    /<<PKGBUILDDIR>>/lib/em-redis/redis_protocol.rb:321:in `connect'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:702:in `block (2 levels) in <top (required)>'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:723:in `block in <top (required)>'

EventMachine::ConnectionError: unable to resolve address: Address family for hostname not supported
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `connect_server': EventMachine::Protocols::Redis with nested multi-bulk response - returns array of arrays
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `bind_connect'
    /usr/lib/ruby/vendor_ruby/eventmachine.rb:655:in `connect'
    /<<PKGBUILDDIR>>/lib/em-redis/redis_protocol.rb:321:in `connect'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:739:in `block (2 levels) in <top (required)>'
    /<<PKGBUILDDIR>>/spec/redis_commands_spec.rb:750:in `block in <top (required)>'

90 specifications (32 requirements), 0 failures, 75 errors
ERROR: Test "ruby2.7" failed. Exiting.

Any idea what's wrong?

libc commented 3 years ago

Hello,

I'm not surprised to be honest. I have no access to an ipv6-only machine to test, so could you help me with this? Could you try updating https://github.com/libc/em-redis/blob/0525c425ec7279bff1842969331da937123d2d9f/lib/em-redis/redis_protocol.rb#L318 to localhost?

Thank you.

utkarsh2102 commented 3 years ago

Aah, okay. That's interesting, heh. Let me try that out and get back to you! :)