dwilkie / chibi

Chibi
chibitxt.me
1 stars 0 forks source link

[production][unknown] PG::UniqueViolation: ERROR: duplicate key value violates unique constraint "index_call_data_reco... #219

Closed dwilkie closed 9 years ago

dwilkie commented 9 years ago

See this exception on Errbit

PG::UniqueViolation: ERROR: duplicate key value violates unique constraint "index_call_data_records_on_phone_call_id_and_type"

DETAIL: Key (phone_call_id, type)=(182577, InboundCdr) already exists. #

Summary

Where

unknown

Occured

Aug 22 8:38am

Similar

38

Params

{
  "args" => "[{\"job_class\"=>\"CallDataRecordCreatorJob\", \"job_id\"=>\"066968e7-3e11-4d98-9655-b197af989e3b\", \"queue_name\"=>\"very_high\", \"arguments\"=>[\"<?xml version=\\\"1.0\\\"?>\\n<cdr core-uuid=\\\"5a03d39b-ddd1-43cb-8dce-b19ba7225e35\\\" switchname=\\\"ip-10-0-0-139\\\">\\n  <channel_data>\\n    <state>CS_REPORTING</state>\\n    <direction>inbound</direction>\\n    <state_number>11</state_number>\\n    <flags>0=1;3=1;37=1;38=1;40=1;53=1;111=1;112=1;116=1;118=1</flags>\\n    <caps>1=1;2=1;3=1;4=1;5=1;6=1</caps>\\n  </channel_data>\\n  <variables>\\n    <direction>inbound</direction>\\n    <uuid>a9cf0ea8-bbfd-4d5b-bd94-9e5068257a12</uuid>\\n    <session_id>1501</session_id>\\n    <sip_from_params>transport%3Dudp%3Buser%3Dphone</sip_from_params>\\n    <sip_from_user>%2B85515414549</sip_from_user>\\n    <sip_from_uri>%2B85515414549%4052.74.158.59</sip_from_uri>\\n    <sip_from_host>52.74.158.59</sip_from_host>\\n    <channel_name>sofia/external/%2B85515414549%4052.74.158.59</channel_name>\\n    <sip_call_id>isbcnox0b2rn2jprlm4oynrbqj0x4prtrlt2%4010.18.5.64</sip_call_id>\\n    <ep_codec_string>PCMA%408000h%405i%4064000b,G729%408000h%405i%408000b</ep_codec_string>\\n    <sip_local_network_addr>52.74.158.59</sip_local_network_addr>\\n    <sip_network_ip>27.109.112.80</sip_network_ip>\\n    <sip_network_port>5060</sip_network_port>\\n    <sip_received_ip>27.109.112.80</sip_received_ip>\\n    <sip_received_port>5060</sip_received_port>\\n    <sip_via_protocol>udp</sip_via_protocol>\\n    <sip_from_user_stripped>85515414549</sip_from_user_stripped>\\n    <sip_from_tag>sbc05034lkjtjby-CC-1106</sip_from_tag>\\n    <sofia_profile_name>external</sofia_profile_name>\\n    <recovery_profile_name>external</recovery_profile_name>\\n    <sip_P-Asserted-Identity>%2B85515414549</sip_P-Asserted-Identity>\\n    <sip_cid_type>pid</sip_cid_type>\\n    <sip_full_via>SIP/2.0/UDP%2027.109.112.80%3A5060%3Bbranch%3Dz9hG4bKmyxbbbnp0j4yqb0m2ob4mornnT26601</sip_full_via>\\n    <sip_from_display>%2B85515414549</sip_from_display>\\n    <sip_full_from>%22%2B85515414549%22%20%3Csip%3A%2B85515414549%4052.74.158.59%3Btransport%3Dudp%3Buser%3Dphone%3E%3Btag%3Dsbc05034lkjtjby-CC-1106</sip_full_from>\\n    <sip_to_display>2441</sip_to_display>\\n    <sip_full_to>%222441%22%20%3Csip%3A2441%4052.74.158.59%3Btransport%3Dudp%3Buser%3Dphone%3E</sip_full_to>\\n    <sip_req_params>user%3Dphone</sip_req_params>\\n    <sip_req_user>2441</sip_req_user>\\n    <sip_req_uri>2441%4052.74.158.59</sip_req_uri>\\n    <sip_req_host>52.74.158.59</sip_req_host>\\n    <sip_to_params>transport%3Dudp%3Buser%3Dphone</sip_to_params>\\n    <sip_to_user>2441</sip_to_user>\\n    <sip_to_uri>2441%4052.74.158.59</sip_to_uri>\\n    <sip_to_host>52.74.158.59</sip_to_host>\\n    <sip_contact_user>nobody</sip_contact_user>\\n    <sip_contact_port>5060</sip_contact_port>\\n    <sip_contact_uri>nobody%4027.109.112.80%3A5060</sip_contact_uri>\\n    <sip_contact_host>27.109.112.80</sip_contact_host>\\n    <sip_via_host>27.109.112.80</sip_via_host>\\n    <sip_via_port>5060</sip_via_port>\\n    <max_forwards>70</max_forwards>\\n    <sip_h_P-Access-Network-Info>GEN-ACCESS%3B%22area-number%3D%2B8550%22</sip_h_P-Access-Network-Info>\\n    <sip_h_P-Early-Media>supported</sip_h_P-Early-Media>\\n    <switch_r_sdp>v%3D0%0D%0Ao%3D-%201094285743%201094285744%20IN%20IP4%2027.109.112.84%0D%0As%3DSBC%20call%0D%0Ac%3DIN%20IP4%2027.109.112.84%0D%0At%3D0%200%0D%0Am%3Daudio%2048500%20RTP/AVP%208%2018%20116%20105%203%20106%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A18%20G729/8000%0D%0Aa%3Drtpmap%3A116%20telephone-event/8000%0D%0Aa%3Drtpmap%3A105%20GSM-EFR/8000%0D%0Aa%3Drtpmap%3A3%20GSM/8000%0D%0Aa%3Drtpmap%3A106%20GSM-HR/8000%0D%0Aa%3Dptime%3A5%0D%0Aa%3Dcurr%3Aqos%20local%20none%0D%0Aa%3Dcurr%3Aqos%20remote%20none%0D%0Aa%3Ddes%3Aqos%20mandatory%20local%20sendrecv%0D%0Aa%3Ddes%3Aqos%20optional%20remote%20sendrecv%0D%0Aa%3D3gOoBTC%0D%0A</switch_r_sdp>\\n    <rtp_use_codec_string>G722,PCMU,PCMA,GSM,G729</rtp_use_codec_string>\\n    <rtp_audio_recv_pt>8</rtp_audio_recv_pt>\\n    <rtp_use_codec_name>PCMA</rtp_use_codec_name>\\n    <rtp_use_codec_rate>8000</rtp_use_codec_rate>\\n    <rtp_use_codec_ptime>20</rtp_use_codec_ptime>\\n    <rtp_use_codec_channels>1</rtp_use_codec_channels>\\n    <rtp_last_audio_codec_string>PCMA%408000h%4020i%401c</rtp_last_audio_codec_string>\\n    <read_codec>PCMA</read_codec>\\n    <original_read_codec>PCMA</original_read_codec>\\n    <read_rate>8000</read_rate>\\n    <original_read_rate>8000</original_read_rate>\\n    <write_codec>PCMA</write_codec>\\n    <write_rate>8000</write_rate>\\n    <dtmf_type>rfc2833</dtmf_type>\\n    <call_uuid>a9cf0ea8-bbfd-4d5b-bd94-9e5068257a12</call_uuid>\\n    <current_application>rayo</current_application>\\n    <rayo_call_jid>a9cf0ea8-bbfd-4d5b-bd94-9e5068257a12%40freeswitch.chibitxt.me</rayo_call_jid>\\n    <hangup_after_bridge>false</hangup_after_bridge>\\n    <park_after_bridge>true</park_after_bridge>\\n    <hold_hangup_xfer_exten>park%3Ainline%3A</hold_hangup_xfer_exten>\\n    <send_silence_when_idle>-1</send_silence_when_idle>\\n    <rayo_dcp_jid>adhearsion%40freeswitch.chibitxt.me/1c2b306f-35db-4f04-873f-7cd9a17aa408-3</rayo_dcp_jid>\\n    <rtp_local_sdp_str>v%3D0%0Ao%3DFreeSWITCH%201440175821%201440175822%20IN%20IP4%2052.74.158.59%0As%3DFreeSWITCH%0Ac%3DIN%20IP4%2052.74.158.59%0At%3D0%200%0Am%3Daudio%2031364%20RTP/AVP%208%20116%0Aa%3Drtpmap%3A8%20PCMA/8000%0Aa%3Drtpmap%3A116%20telephone-event/8000%0Aa%3Dfmtp%3A116%200-16%0Aa%3Dptime%3A20%0Aa%3Dsendrecv%0A</rtp_local_sdp_str>\\n    <local_media_ip>10.0.0.139</local_media_ip>\\n    <local_media_port>31364</local_media_port>\\n    <advertised_media_ip>52.74.158.59</advertised_media_ip>\\n    <rtp_use_timer_name>soft</rtp_use_timer_name>\\n    <rtp_use_pt>8</rtp_use_pt>\\n    <rtp_use_ssrc>702292513</rtp_use_ssrc>\\n    <rtp_2833_send_payload>116</rtp_2833_send_payload>\\n    <rtp_2833_recv_payload>116</rtp_2833_recv_payload>\\n    <remote_media_ip>27.109.112.84</remote_media_ip>\\n    <remote_media_port>48500</remote_media_port>\\n    <endpoint_disposition>EARLY%20MEDIA</endpoint_disposition>\\n    <sip_hangup_disposition>recv_cancel</sip_hangup_disposition>\\n    <sip_term_status>487</sip_term_status>\\n    <proto_specific_hangup_cause>sip%3A487</proto_specific_hangup_cause>\\n    <sip_term_cause>487</sip_term_cause>\\n    <hangup_cause>ORIGINATOR_CANCEL</hangup_cause>\\n    <hangup_cause_q850>16</hangup_cause_q850>\\n    <digits_dialed>none</digits_dialed>\\n    <start_stamp>2015-08-22%2001%3A33%3A05</start_stamp>\\n    <profile_start_stamp>2015-08-22%2001%3A33%3A05</profile_start_stamp>\\n    <progress_media_stamp>2015-08-22%2001%3A33%3A05</progress_media_stamp>\\n    <end_stamp>2015-08-22%2001%3A33%3A15</end_stamp>\\n    <start_epoch>1440207185</start_epoch>\\n    <start_uepoch>1440207185463883</start_uepoch>\\n    <profile_start_epoch>1440207185</profile_start_epoch>\\n    <profile_start_uepoch>1440207185463883</profile_start_uepoch>\\n    <answer_epoch>0</answer_epoch>\\n    <answer_uepoch>0</answer_uepoch>\\n    <bridge_epoch>0</bridge_epoch>\\n    <bridge_uepoch>0</bridge_uepoch>\\n    <last_hold_epoch>0</last_hold_epoch>\\n    <last_hold_uepoch>0</last_hold_uepoch>\\n    <hold_accum_seconds>0</hold_accum_seconds>\\n    <hold_accum_usec>0</hold_accum_usec>\\n    <hold_accum_ms>0</hold_accum_ms>\\n    <resurrect_epoch>0</resurrect_epoch>\\n    <resurrect_uepoch>0</resurrect_uepoch>\\n    <progress_epoch>0</progress_epoch>\\n    <progress_uepoch>0</progress_uepoch>\\n    <progress_media_epoch>1440207185</progress_media_epoch>\\n    <progress_media_uepoch>1440207185723874</progress_media_uepoch>\\n    <end_epoch>1440207195</end_epoch>\\n    <end_uepoch>1440207195643884</end_uepoch>\\n    <last_app>rayo</last_app>\\n    <caller_id>%22%2B85515414549%22%20%3C%2B85515414549%3E</caller_id>\\n    <duration>10</duration>\\n    <billsec>0</billsec>\\n    <progresssec>0</progresssec>\\n    <answersec>0</answersec>\\n    <waitsec>0</waitsec>\\n    <progress_mediasec>0</progress_mediasec>\\n    <flow_billsec>0</flow_billsec>\\n    <mduration>10180</mduration>\\n    <billmsec>0</billmsec>\\n    <progressmsec>0</progressmsec>\\n    <answermsec>0</answermsec>\\n    <waitmsec>0</waitmsec>\\n    <progress_mediamsec>260</progress_mediamsec>\\n    <flow_billmsec>0</flow_billmsec>\\n    <uduration>10180001</uduration>\\n    <billusec>0</billusec>\\n    <progressusec>0</progressusec>\\n    <answerusec>0</answerusec>\\n    <waitusec>0</waitusec>\\n    <progress_mediausec>259991</progress_mediausec>\\n    <flow_billusec>0</flow_billusec>\\n    <rtp_audio_in_raw_bytes>72756</rtp_audio_in_raw_bytes>\\n    <rtp_audio_in_media_bytes>72756</rtp_audio_in_media_bytes>\\n    <rtp_audio_in_packet_count>423</rtp_audio_in_packet_count>\\n    <rtp_audio_in_media_packet_count>423</rtp_audio_in_media_packet_count>\\n    <rtp_audio_in_skip_packet_count>73</rtp_audio_in_skip_packet_count>\\n    <rtp_audio_in_jitter_packet_count>0</rtp_audio_in_jitter_packet_count>\\n    <rtp_audio_in_dtmf_packet_count>0</rtp_audio_in_dtmf_packet_count>\\n    <rtp_audio_in_cng_packet_count>0</rtp_audio_in_cng_packet_count>\\n    <rtp_audio_in_flush_packet_count>0</rtp_audio_in_flush_packet_count>\\n    <rtp_audio_in_largest_jb_size>0</rtp_audio_in_largest_jb_size>\\n    <rtp_audio_in_jitter_min_variance>133.33</rtp_audio_in_jitter_min_variance>\\n    <rtp_audio_in_jitter_max_variance>400.00</rtp_audio_in_jitter_max_variance>\\n    <rtp_audio_in_jitter_loss_rate>0.00</rtp_audio_in_jitter_loss_rate>\\n    <rtp_audio_in_jitter_burst_rate>0.00</rtp_audio_in_jitter_burst_rate>\\n    <rtp_audio_in_mean_interval>20.00</rtp_audio_in_mean_interval>\\n    <rtp_audio_in_flaw_total>0</rtp_audio_in_flaw_total>\\n    <rtp_audio_in_quality_percentage>100.00</rtp_audio_in_quality_percentage>\\n    <rtp_audio_in_mos>4.50</rtp_audio_in_mos>\\n    <rtp_audio_out_raw_bytes>85140</rtp_audio_out_raw_bytes>\\n    <rtp_audio_out_media_bytes>85140</rtp_audio_out_media_bytes>\\n    <rtp_audio_out_packet_count>495</rtp_audio_out_packet_count>\\n    <rtp_audio_out_media_packet_count>495</rtp_audio_out_media_packet_count>\\n    <rtp_audio_out_skip_packet_count>0</rtp_audio_out_skip_packet_count>\\n    <rtp_audio_out_dtmf_packet_count>0</rtp_audio_out_dtmf_packet_count>\\n    <rtp_audio_out_cng_packet_count>0</rtp_audio_out_cng_packet_count>\\n    <rtp_audio_rtcp_packet_count>0</rtp_audio_rtcp_packet_count>\\n    <rtp_audio_rtcp_octet_count>0</rtp_audio_rtcp_octet_count>\\n  </variables>\\n  <app_log>\\n    <application app_name=\\\"rayo\\\" app_data=\\\"\\\" app_stamp=\\\"1440207185477810\\\"></application>\\n  </app_log>\\n  <callflow dialplan=\\\"XML\\\" unique-id=\\\"5d3cdbcd-0da7-4e30-b81d-6868fbd037ff\\\" profile_index=\\\"1\\\">\\n    <extension name=\\\"adhearsion\\\" number=\\\"2441\\\">\\n      <application app_name=\\\"rayo\\\" app_data=\\\"\\\"></application>\\n    </extension>\\n    <caller_profile>\\n      <username>+85515414549</username>\\n      <dialplan>XML</dialplan>\\n      <caller_id_name>+85515414549</caller_id_name>\\n      <caller_id_number>+85515414549</caller_id_number>\\n      <callee_id_name></callee_id_name>\\n      <callee_id_number></callee_id_number>\\n      <ani>+85515414549</ani>\\n      <aniii></aniii>\\n      <network_addr>27.109.112.80</network_addr>\\n      <rdnis></rdnis>\\n      <destination_number>2441</destination_number>\\n      <uuid>a9cf0ea8-bbfd-4d5b-bd94-9e5068257a12</uuid>\\n      <source>mod_sofia</source>\\n      <context>default</context>\\n      <chan_name>sofia/external/+85515414549@52.74.158.59</chan_name>\\n    </caller_profile>\\n    <times>\\n      <created_time>1440207185463883</created_time>\\n      <profile_created_time>1440207185463883</profile_created_time>\\n      <progress_time>0</progress_time>\\n      <progress_media_time>1440207185723874</progress_media_time>\\n      <answered_time>0</answered_time>\\n      <bridged_time>0</bridged_time>\\n      <last_hold_time>0</last_hold_time>\\n      <hold_accum_time>0</hold_accum_time>\\n      <hangup_time>1440207195643884</hangup_time>\\n      <resurrect_time>0</resurrect_time>\\n      <transfer_time>0</transfer_time>\\n    </times>\\n  </callflow>\\n</cdr>\\n\"]}]",
  "class" => "ActiveJob::QueueAdapters::SidekiqAdapter::JobWrapper",
  "created_at" => "1440207521.0700507",
  "enqueued_at" => "1440207521.07014",
  "error_class" => "ActiveRecord::RecordNotUnique",
  "error_message" => "PG::UniqueViolation: ERROR:  duplicate key value violates unique constraint \"index_call_data_records_on_phone_call_id_and_type\"\nDETAIL:  Key (phone_call_id, type)=(182577, InboundCdr) already exists.\n: INSERT INTO \"call_data_records\" (\"type\", \"direction\", \"uuid\", \"duration\", \"bill_sec\", \"from\", \"phone_call_id\", \"cdr_data\", \"user_id\", \"rfc2822_date\", \"created_at\", \"updated_at\") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING \"id\"",
  "failed_at" => "1440207523.0718672",
  "jid" => "e37c8507d5ec2d08112926ca",
  "queue" => "very_high",
  "retry" => "true",
  "retry_count" => "0",
  "wrapped" => "CallDataRecordCreatorJob"
}

Session

{
}

Backtrace

606:  [GEM_ROOT]/gems/activerecord-4.2.3/lib/active_record/connection_adapters/postgresql_adapter.rb -> **exec_prepared**
606:  [GEM_ROOT]/gems/activerecord-4.2.3/lib/active_record/connection_adapters/postgresql_adapter.rb -> **block in exec_cache**
473:  [GEM_ROOT]/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract_adapter.rb -> **block in log**
20:  [GEM_ROOT]/gems/activesupport-4.2.3/lib/active_support/notifications/instrumenter.rb -> **instrument**
467:  [GEM_ROOT]/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract_adapter.rb -> **log**
605:  [GEM_ROOT]/gems/activerecord-4.2.3/lib/active_record/connection_adapters/postgresql_adapter.rb -> **exec_cache**
589:  [GEM_ROOT]/gems/activerecord-4.2.3/lib/active_record/connection_adapters/postgresql_adapter.rb -> **execute_and_clear**
160:  [GEM_ROOT]/gems/activerecord-4.2.3/lib/active_record/connection_adapters/postgresql/database_statements.rb -> **exec_query**
192:  [GEM_ROOT]/gems/activerecord-4.2.3/lib/active_record/connection_adapters/postgresql/database_statements.rb -> **exec_insert**
108:  [GEM_ROOT]/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract/database_statements.rb -> **insert**
14:  [GEM_ROOT]/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract/query_cache.rb -> **insert**
64:  [GEM_ROOT]/gems/activerecord-4.2.3/lib/active_record/relation.rb -> **insert**
524:  [GEM_ROOT]/gems/activerecord-4.2.3/lib/active_record/persistence.rb -> **_create_record**
139:  [GEM_ROOT]/gems/activerecord-4.2.3/lib/active_record/counter_cache.rb -> **_create_record**
75:  [GEM_ROOT]/gems/activerecord-4.2.3/lib/active_record/locking/optimistic.rb -> **_create_record**
132:  [GEM_ROOT]/gems/activerecord-4.2.3/lib/active_record/attribute_methods/dirty.rb -> **_create_record**
306:  [GEM_ROOT]/gems/activerecord-4.2.3/lib/active_record/callbacks.rb -> **block in _create_record**
115:  [GEM_ROOT]/gems/activesupport-4.2.3/lib/active_support/callbacks.rb -> **call**
115:  [GEM_ROOT]/gems/activesupport-4.2.3/lib/active_support/callbacks.rb -> **call**
553:  [GEM_ROOT]/gems/activesupport-4.2.3/lib/active_support/callbacks.rb -> **block (2 levels) in compile**
503:  [GEM_ROOT]/gems/activesupport-4.2.3/lib/active_support/callbacks.rb -> **call**
503:  [GEM_ROOT]/gems/activesupport-4.2.3/lib/active_support/callbacks.rb -> **call**
88:  [GEM_ROOT]/gems/activesupport-4.2.3/lib/active_support/callbacks.rb -> **run_callbacks**
306:  [GEM_ROOT]/gems/activerecord-4.2.3/lib/active_record/callbacks.rb -> **_create_record**
57:  [GEM_ROOT]/gems/activerecord-4.2.3/lib/active_record/timestamp.rb -> **_create_record**
504:  [GEM_ROOT]/gems/activerecord-4.2.3/lib/active_record/persistence.rb -> **create_or_update**
302:  [GEM_ROOT]/gems/activerecord-4.2.3/lib/active_record/callbacks.rb -> **block in create_or_update**
115:  [GEM_ROOT]/gems/activesupport-4.2.3/lib/active_support/callbacks.rb -> **call**
115:  [GEM_ROOT]/gems/activesupport-4.2.3/lib/active_support/callbacks.rb -> **call**
553:  [GEM_ROOT]/gems/activesupport-4.2.3/lib/active_support/callbacks.rb -> **block (2 levels) in compile**
503:  [GEM_ROOT]/gems/activesupport-4.2.3/lib/active_support/callbacks.rb -> **call**
503:  [GEM_ROOT]/gems/activesupport-4.2.3/lib/active_support/callbacks.rb -> **call**
88:  [GEM_ROOT]/gems/activesupport-4.2.3/lib/active_support/callbacks.rb -> **run_callbacks**
302:  [GEM_ROOT]/gems/activerecord-4.2.3/lib/active_record/callbacks.rb -> **create_or_update**
120:  [GEM_ROOT]/gems/activerecord-4.2.3/lib/active_record/persistence.rb -> **save**
37:  [GEM_ROOT]/gems/activerecord-4.2.3/lib/active_record/validations.rb -> **save**
21:  [GEM_ROOT]/gems/activerecord-4.2.3/lib/active_record/attribute_methods/dirty.rb -> **save**
286:  [GEM_ROOT]/gems/activerecord-4.2.3/lib/active_record/transactions.rb -> **block (2 levels) in save**
351:  [GEM_ROOT]/gems/activerecord-4.2.3/lib/active_record/transactions.rb -> **block in with_transaction_returning_status**
213:  [GEM_ROOT]/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract/database_statements.rb -> **block in transaction**
184:  [GEM_ROOT]/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract/transaction.rb -> **within_new_transaction**
213:  [GEM_ROOT]/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract/database_statements.rb -> **transaction**
220:  [GEM_ROOT]/gems/activerecord-4.2.3/lib/active_record/transactions.rb -> **transaction**
348:  [GEM_ROOT]/gems/activerecord-4.2.3/lib/active_record/transactions.rb -> **with_transaction_returning_status**
286:  [GEM_ROOT]/gems/activerecord-4.2.3/lib/active_record/transactions.rb -> **block in save**
301:  [GEM_ROOT]/gems/activerecord-4.2.3/lib/active_record/transactions.rb -> **rollback_active_record_state!**
285:  [GEM_ROOT]/gems/activerecord-4.2.3/lib/active_record/transactions.rb -> **save**
6:  app/jobs/call_data_record_creator_job.rb -> **perform**
32:  [GEM_ROOT]/gems/activejob-4.2.3/lib/active_job/execution.rb -> **block in perform_now**
115:  [GEM_ROOT]/gems/activesupport-4.2.3/lib/active_support/callbacks.rb -> **call**
115:  [GEM_ROOT]/gems/activesupport-4.2.3/lib/active_support/callbacks.rb -> **call**
553:  [GEM_ROOT]/gems/activesupport-4.2.3/lib/active_support/callbacks.rb -> **block (2 levels) in compile**
503:  [GEM_ROOT]/gems/activesupport-4.2.3/lib/active_support/callbacks.rb -> **call**
503:  [GEM_ROOT]/gems/activesupport-4.2.3/lib/active_support/callbacks.rb -> **call**
496:  [GEM_ROOT]/gems/activesupport-4.2.3/lib/active_support/callbacks.rb -> **block (2 levels) in around**
341:  [GEM_ROOT]/gems/activesupport-4.2.3/lib/active_support/callbacks.rb -> **call**
341:  [GEM_ROOT]/gems/activesupport-4.2.3/lib/active_support/callbacks.rb -> **block (2 levels) in simple**
23:  [GEM_ROOT]/gems/activejob-4.2.3/lib/active_job/logging.rb -> **call**
23:  [GEM_ROOT]/gems/activejob-4.2.3/lib/active_job/logging.rb -> **block (4 levels) in <module:Logging>**
164:  [GEM_ROOT]/gems/activesupport-4.2.3/lib/active_support/notifications.rb -> **block in instrument**
20:  [GEM_ROOT]/gems/activesupport-4.2.3/lib/active_support/notifications/instrumenter.rb -> **instrument**
164:  [GEM_ROOT]/gems/activesupport-4.2.3/lib/active_support/notifications.rb -> **instrument**
22:  [GEM_ROOT]/gems/activejob-4.2.3/lib/active_job/logging.rb -> **block (3 levels) in <module:Logging>**
43:  [GEM_ROOT]/gems/activejob-4.2.3/lib/active_job/logging.rb -> **block in tag_logger**
68:  [GEM_ROOT]/gems/activesupport-4.2.3/lib/active_support/tagged_logging.rb -> **block in tagged**
26:  [GEM_ROOT]/gems/activesupport-4.2.3/lib/active_support/tagged_logging.rb -> **tagged**
68:  [GEM_ROOT]/gems/activesupport-4.2.3/lib/active_support/tagged_logging.rb -> **tagged**
43:  [GEM_ROOT]/gems/activejob-4.2.3/lib/active_job/logging.rb -> **tag_logger**
19:  [GEM_ROOT]/gems/activejob-4.2.3/lib/active_job/logging.rb -> **block (2 levels) in <module:Logging>**
439:  [GEM_ROOT]/gems/activesupport-4.2.3/lib/active_support/callbacks.rb -> **instance_exec**
439:  [GEM_ROOT]/gems/activesupport-4.2.3/lib/active_support/callbacks.rb -> **block in make_lambda**
340:  [GEM_ROOT]/gems/activesupport-4.2.3/lib/active_support/callbacks.rb -> **call**
340:  [GEM_ROOT]/gems/activesupport-4.2.3/lib/active_support/callbacks.rb -> **block in simple**
495:  [GEM_ROOT]/gems/activesupport-4.2.3/lib/active_support/callbacks.rb -> **call**
495:  [GEM_ROOT]/gems/activesupport-4.2.3/lib/active_support/callbacks.rb -> **block in around**
503:  [GEM_ROOT]/gems/activesupport-4.2.3/lib/active_support/callbacks.rb -> **call**
503:  [GEM_ROOT]/gems/activesupport-4.2.3/lib/active_support/callbacks.rb -> **call**
88:  [GEM_ROOT]/gems/activesupport-4.2.3/lib/active_support/callbacks.rb -> **run_callbacks**
31:  [GEM_ROOT]/gems/activejob-4.2.3/lib/active_job/execution.rb -> **perform_now**
21:  [GEM_ROOT]/gems/activejob-4.2.3/lib/active_job/execution.rb -> **execute**
42:  [GEM_ROOT]/gems/activejob-4.2.3/lib/active_job/queue_adapters/sidekiq_adapter.rb -> **perform**
75:  [GEM_ROOT]/gems/sidekiq-3.4.2/lib/sidekiq/processor.rb -> **execute_job**
52:  [GEM_ROOT]/gems/sidekiq-3.4.2/lib/sidekiq/processor.rb -> **block (2 levels) in process**
127:  [GEM_ROOT]/gems/sidekiq-3.4.2/lib/sidekiq/middleware/chain.rb -> **block in invoke**
6:  [GEM_ROOT]/gems/sidekiq-3.4.2/lib/sidekiq/middleware/server/active_record.rb -> **call**
129:  [GEM_ROOT]/gems/sidekiq-3.4.2/lib/sidekiq/middleware/chain.rb -> **block in invoke**
74:  [GEM_ROOT]/gems/sidekiq-3.4.2/lib/sidekiq/middleware/server/retry_jobs.rb -> **call**
129:  [GEM_ROOT]/gems/sidekiq-3.4.2/lib/sidekiq/middleware/chain.rb -> **block in invoke**
15:  [GEM_ROOT]/gems/sidekiq-3.4.2/lib/sidekiq/middleware/server/logging.rb -> **block in call**
30:  [GEM_ROOT]/gems/sidekiq-3.4.2/lib/sidekiq/logging.rb -> **with_context**
11:  [GEM_ROOT]/gems/sidekiq-3.4.2/lib/sidekiq/middleware/server/logging.rb -> **call**
129:  [GEM_ROOT]/gems/sidekiq-3.4.2/lib/sidekiq/middleware/chain.rb -> **block in invoke**
132:  [GEM_ROOT]/gems/sidekiq-3.4.2/lib/sidekiq/middleware/chain.rb -> **call**
132:  [GEM_ROOT]/gems/sidekiq-3.4.2/lib/sidekiq/middleware/chain.rb -> **invoke**
51:  [GEM_ROOT]/gems/sidekiq-3.4.2/lib/sidekiq/processor.rb -> **block in process**
98:  [GEM_ROOT]/gems/sidekiq-3.4.2/lib/sidekiq/processor.rb -> **stats**
50:  [GEM_ROOT]/gems/sidekiq-3.4.2/lib/sidekiq/processor.rb -> **process**
26:  [GEM_ROOT]/gems/celluloid-0.16.1/lib/celluloid/calls.rb -> **public_send**
26:  [GEM_ROOT]/gems/celluloid-0.16.1/lib/celluloid/calls.rb -> **dispatch**
137:  [GEM_ROOT]/gems/celluloid-0.16.1/lib/celluloid/calls.rb -> **dispatch**
60:  [GEM_ROOT]/gems/celluloid-0.16.1/lib/celluloid/cell.rb -> **block in invoke**
71:  [GEM_ROOT]/gems/celluloid-0.16.1/lib/celluloid/cell.rb -> **block in task**
357:  [GEM_ROOT]/gems/celluloid-0.16.1/lib/celluloid/actor.rb -> **block in task**
57:  [GEM_ROOT]/gems/celluloid-0.16.1/lib/celluloid/tasks.rb -> **block in initialize**
14:  [GEM_ROOT]/gems/celluloid-0.16.1/lib/celluloid/tasks/task_fiber.rb -> **block in create**

Environment