Comments (9)
This started happening at 7c27845, tests all run fine before that.
from que.
I can't reproduce it on my machine, either on master or that commit, and things seem to be fine on Travis on 2.0.0 (just the same old intermittent errors on rbx and jruby). I don't know why there would be forked processes running - I played around with forking a bit locally, but it never made it into master. I notice that all the errors relate to ActiveRecord - what version is in your Gemfile.lock? I'm using 4.0.0.
from que.
4.0.2. Gemfile.lock is here: https://gist.github.com/joevandyk/e5a7233fef94d072266b/raw/a5bbef1c89cf9c629b9847f0655356eb45ab5116/gistfile1.txt
I'll try to dig some more.
from que.
Nevermind about the fork.
When the process was hanging, I used ctrl-c to stop the process, but for some reason, the ruby process still sticks around, see https://gist.github.com/joevandyk/e88eced0ae2c4d8f94a1 for the transcript. (then when I tried running rake again, there'd be multiples of these left-over ruby processes.
from que.
I just updated to 4.0.2, still no issue on 2.0.0-p247 or 2.0.0-p353.
Yeah, I've seen that issue with Ctrl+C not killing test processes properly, I'm not sure why it happens. Usually it just results in advisory-lock lint warnings, nothing like this.
from que.
Weird. I can replicate it on two separate ubuntu 12.04 machines and two separate OSX machines.
from que.
That's very, very strange. I'm running Linux Mint 15, which is derived from Ubuntu 13.04. I'll try to reproduce this on 12.04 tomorrow.
from que.
Figured it out. I have the TZ environment variable on my machine set to "UTC" so that Time.now returns values in that time zone. I set it up that way forever ago to emulate Heroku, but it's doing something unexpected with ActiveRecord here. I'm not sure what the fix is yet, but deleting that environment variable lets me recreate the problem on my machine, so I can figure it out from here. Thanks!
from que.
Looks good!
from que.
Related Issues (20)
- Tests fail in Docker on Apple Silicon
- Timeline for v2.0.0. release HOT 1
- Remove unnecessary trigger that notifies about job state transitions HOT 2
- Deprecated method used in connection.rb HOT 1
- Check that all que migrations have been applied at startup HOT 1
- Detect Que schema version missing due to bug in Rails schema dump - affects all versions of Rails 7 prior to 7.0.3
- Migration to v. 2.2.0 failed HOT 2
- Stats about failing jobs HOT 2
- upgrading from v0 to v2 when already on ruby 3 HOT 5
- Migrating from 1.0.0.beta4 to 1.4.1 HOT 5
- Que fails to calculate args and kwargs on Ruby 3.2 with ActiveJob HOT 1
- Migration fails when adding Que to a new project (with rspec) HOT 8
- Doesn't support enqueueing a job with tags using ActiveJob HOT 7
- Proposal to change run_at default to clock_timestamp HOT 2
- ActiveRecord connection returned to the pool prematurely when nesting que jobs
- Tests are failing due to Bundler requiring Ruby 3 HOT 2
- PQsocket() can't get socket descriptor (PG::ConnectionBad) locker error HOT 3
- ActiveSupport::CurrentAttributes gets reset in console HOT 5
- All symbols, passed to the Job.run are transformed to strings HOT 2
- Deprecation warning with Rails 7.1 HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from que.