Error: URL can't contain control characters

Hey, first off thanks for the great project, it's been really helpful.
I'm trying to embed your code into a project, which has so far worked pretty well! When running the code as an import the username to download works perfectly fine, however, once I package the project with PyInstaller I'm now recieving this issue with all usernames:
[E] (1) Download failed: InvalidURL URL can't contain control characters. '/api/v1/users/USERNAME\r\n/usernameinfo/' (found at least '\r').
This is stemming from line 409:
user_res = ig_client.username_info(user)
I wanted to reach out to see if you had any ideas regarding the issue, or whether I need to dig deeper into the Instagram API to fix this.
P.S. For my needs I had to add an output location argument into the code, so if you're still looking for suggestions on improvements that would be mine! Thanks again.

What seems to happen is that either some other part of your code (or pyinstaller, in a way) is adding an EOL character \r\n to the username string variable which is obviously not accepted in an URL
Try using rstrip() to remove trailing newlines

@dvingerh
Thank you for your help! I suspected it may not be related to your code but just wanted to check as relatively new to this and couldn't find any answers.


Having version in main

Every commit in main should be tagged with a version like : X.Y.Z
X, Y and Z been integers.

On second thought, we won't be committing directly to main branch anymore.


Fix CLI unit tests

Describe what has changed in this PR
Fixed broken unit tests

Pull Request Test Coverage Report for Build a228b63e-68af-4839-85ae-bd0d9ba870e3

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
114 unchanged lines in 15 files lost coverage.
Overall coverage decreased (-1.7%) to 65.138%

Files with Coverage Reduction
New Missed Lines
%

service/history/task/task.go
1
83.2%

client/history/client.go
2
44.78%

client/history/metricClient.go
2
49.43%

common/task/fifoTaskScheduler.go
2
85.57%

common/task/weightedRoundRobinTaskScheduler.go
2
89.64%

service/history/execution/mutable_state_builder.go
2
69.79%

service/history/handler.go
2
46.59%

common/types/mapper/thrift/history.go
4
60.87%

service/frontend/workflowHandler.go
4
55.55%

service/history/task/transfer_standby_task_executor.go
4
90.32%

Totals

Change from base Build 9ba68d8b-28bb-465c-86f8-3a4c2a289d94:
-1.7%

Covered Lines:
85919

Relevant Lines:
131904

💛  - Coveralls


Suggestion: support data-barcode on target object

I am using your great library in an web application where the barcode value(s) are being output from a db. As the values for that barcode are dynamic and there will be more than one barcode I can't construct the values in JS by using an ID.
For the time being I use a jQuery snippet which reads the barcode information from the data property.
As your script uses string.search it is necessary to first cast the result of the data-call value to string to avoid an exception.
HTML

JS
$(document).ready(function () {
    $('.barcode').each(function () {
        var barcodeValue = "" + $( this ).data('barcode'),
            barcodeType = "ean" + barcodeValue.length;

        $( this ).JsBarcode(barcodeValue, {
            format: barcodeType ,
            height: 40,
            displayValue:true,
            fontSize:14,
            textMargin: 2,
            background: "transparent",
            margin: 0
        });
    });
});

It would be great to add support for this data property by default.

This could absolutely be something that might be implemented.
I imagine the entire use being something like:

window.onload = function(){
  JsBarcode(".barcode").init(); //Probably something else than init()
}

What would you consider being the optimal way of using this kind of interaction with the library?

As your script uses string.search it is necessary to first cast the result of the data-call value to string to avoid an exception.

This is a bug and should be fixed.

That's a great idea, so basically add a possibility to configure every option in the target object, but I would prefer using data-jsbarcode- or data- as this is the normal jQuery way of defining options.
And another thing is JsBarcode(".barcode") works, JsBarcode($( this )) fails as only strings are allowed.
The call init() sounds good. As I prefer doing $('object').JsBarcode() the usage of init() should also work here.
I also created an HTML-table from DB by using this snippet, called JsBarcode on all selectors and got a nice view including EAN8 and EAN13-codes.

That's a great idea, so basically add a possibility to configure every option in the target object, but I would prefer using data-jsbarcode- or data- as this is the normal jQuery way of defining options.

I think barcode-* or jsbarcode-* look much better but data-jsbarcode-* maybe be an extra way of doing it. data-* is actually just a standard from before HTML5 when attributes could not be anything and still be W3C valid. And the thing about it being normal in jQuery, unfortunately the library is not focusing on jQuery any more even if the support is still going to remain.

And another thing is JsBarcode(".barcode") works, JsBarcode($( this )) fails as only strings are allowed.

JsBarcode(something) does not only support string. It supports string (querySelector), image objects, svg objects and canvas objects. It does not support passing jQuery object, you have to use the jQuery api for that ($(something).JsBarcode()). You could use JsBarcode(this) instead of JsBarcode($( this )) and it would work.

The call init() sounds good. As I prefer doing $('object').JsBarcode() the usage of init() should also work here.

It would :smile:

I also created an HTML-table from DB by using this snippet, called JsBarcode on all selectors and got a nice view including EAN8 and EAN13-codes.

?

And by the way. Is the app you are building publicly available somewhere for me to take a look at? :smile: It's always fun to se where the library is used.

The application will be launched the next weeks and will have at least some areas publicly available (one of them having the JsBarcode displayed), so stay tuned :smile:
The HTML-example was meant to give some cheer to you, as the table is > 1000 lines of items and all of them render in nearly no time :clap:

Put up an alpha version with the basic premise working but a lot of things not.
Demo here

The application will be launched the next weeks and will have at least some areas publicly available (one of them having the JsBarcode displayed), so stay tuned :smile:

Nice :smile: I want to take a look then.

The HTML-example was meant to give some cheer to you, as the table is > 1000 lines of items and all of them render in nearly no time :clap:

Ah, nice :smile: :bow:

Just tested your fiddle and it is working as expected, all tested options are recognized. I was unable to get an img-tag to show but maybe this was out of scope, or maybe I should just switch to svg :smile:

All options should work. The things I recognized as problems was images not working and not erroring on incorrect data, but it could be more things. Of course these should be fixed before any stable release. But you should probably switch to SVG either way :wink:. In normal conditions it is rendered pixel identical to the canvas/img alternative but scales much betters if the webpage is not rendered in 100%

Great, will wait for final release and then integrate it into my page / siwtch to SVG. Maybe I will find some other use cases soon

Those problems pointed out earlier are now fixed. Did not tag it as stable yet as I should do some more tests before that. Same demo as before but now with img included.

v3.3.0-beta.2 added the missing support of jQuery init (of more than 1 element).
$(".barcode").JsBarcode().init();

Did release v3.3.0 now. Closing the issue.


Add Dynamic demo

Passkeys i.e. Webauthn is transforming web3 when combined with other innovations like smart contract wallets. Dynamic introduced a nice flow for this (https://www.dynamic.xyz/blog/embedded-wallets-with-passkeys) with a custom demo this might be useful to people to see how it works! Demo in question: https://passkeys.dynamic.xyz/

cc. @herrjemand :)

Hey @matthew1809. We do not advertise pure commercial demos. This is a great demo for your company, however it does not creates additional value for this project.
If you guys do some cool community focused tools, blogs, demos (see Auth0 debugger) we would be happy to take a look *)


Fix hacked Neon.Kube.ResourceManager to use dependency injection for NO-CHANGE RECONCILE events

For some reason, Kubeops does not seem to send RECONCILE events when no changes
have been detected, even though we return a [ResourceControllerResult] with a
delay.  We're also not seeing any RECONCILE event when the operator starts and
there are no resources.  This used to work before we upgraded to Kubeops v7.0.0-preview2.
NOTE: It's very possible that the old Kubeops behavior was invalid and the current
behavior actually is correct.
This completely breaks our logic where we expect to see a NO-CHANGE event after
all of the existing resources have been discovered or when no resources were
discovered.
We're going to work around this with a pretty horrible hack for the time being:
 1. We're going to use the [nextNoChangeReconcileUtc] field to track
    when the next NO-CHANGE event should be raised.  This will default
    to the current time plus 1 minute when the resource manager is
    constructed.  This gives Kubeops a chance to discover existing
    resources before we start raising NO-CHANGE events.

 2. After RECONCILE events are handled by the operator's controller,
    we'll reset the [nextNoChangeReconcileUtc] property to be the current
    time plus the [reconciledNoChangeInterval].

 3. The [NoChangeLoop()] method below loops watching for when [nextNoChangeReconcileUtc]
    indicates that a NO-CHANGE RECONCILE event should be raised.  The loop
    will instantiate an instance of the controller, hardcoding the [IKubernetes]
    constructor parameter for now, rather than supporting real dependency
    injection.  We'll then call [ReconcileAsync()] ourselves.

    The loop uses [mutex] to ensure that only controller event handler is
    called at a time, so this should be thread/task safe.

 4. We're only going to do this for RECONCILE events right now: our
    operators aren't currently monitoring DELETED or STATUS-MODIFIED
    events and I suspect that Kubeops is probably doing the correct
    thing for these anyway.

I've implemented our own idle loop to handle this (renamed from no-change)


How to calculate real-world distance from object mask and centroid (D405)?

Required Info
How to calculate real-world distance from object mask and centroid (D405)?

Camera Model
{ D405 }

Firmware Version
(The newest)

Operating System & Version
{ Linux 22.04

Kernel Version (Linux Only)
()

Platform
PC

SDK Version
{ The newest }

Language
{Python }

Segment
{Robot }

Issue Description
Hello,
I am working on a computer vision project where I need to calculate the real-world distance that an object has moved based on its mask size and centroid coordinates in the image. I have the following information available:
I can extract the object mask (binary segmentation) from the image.
I have the centroid coordinates (x, y) of the object within the image.
I use 640*360 resolution.
However, I am unsure how to convert these image-based measurements into real-world distances (e.g., in millimeters or meters). Can you help me on this?
Thanks,
Qidi

Hi @qidihan  If you have XY image pixel coordinates then you can convert those coordinates to real-world distance in meters by converting an RGB color pixel to a depth pixel with the instruction rs2_project_color_pixel_to_depth_pixel.  Python examples of implementing this instruction can be found at https://github.com/IntelRealSense/librealsense/issues/5603#issuecomment-574019008 and https://github.com/IntelRealSense/librealsense/issues/9945#issuecomment-972539640

I may not have been clear. What I meant was that I am using a 640*360 RGB image, and I want to know approximately how many millimeters a pixel is in this image, not the distance of my object from the camera. I found online that millimeters can be calculated as pixels multiplied by (25.4 / PPI), but I don't know the PPI value.

There is not RealSense-specific information available about this.  My general non-RealSense research of the subject indicates though that in order to calculate PPI, you need to know the diagonal size of the screen that you are using.
https://www.calculatorsoup.com/calculators/technology/ppi-calculator.php
The DPI (Dots Per Inch) value is knowable though.  At 640x360 resolution, DPI should be 160.
The guide below asserts in the section headed "Are PPI & DPI the same?" that PPI and DPI can be used interchangeably (1 PPI = 1 DPI), so that 160 DPI would be equal to 160 PPI.  Other resources back up the assertion that DPI and PPI are interchangeable.
https://cssunitconverter.com/pixels-to-inches/

Thanks for your information!!! I will close the issue right now.

You are very welcome.  I'm pleased that I could help.  Thanks very much for the update!


Stdlib list: Missing and Confirmed to be working as they are.

#You can contribute to this on the wiki by using this link
https://github.com/google/grumpy/wiki/Missing-Features

There's no way for others to edit your issue, so maybe this isn't the best way to track this? I'm thinking a md file or a section in the README might be better, but I don't know how much PR noise that would create for @trotterdylan. A Google doc might be a reasonable alternative, at least in the short term.

I added a wiki page to track missing features. I think anybody can edit it. What do you guys think?

I like the idea of having it on the wiki, but I think you're the only one with write permissions. I suspect we'd have to submit PRs to change it, which seems like it could generate a lot of noise.

This is a good idea to use the wiki! I'll change my comment.

Also should we for every .py file or lib include a link on the name?
Because not all of the libs are available in the Cpython Libs folder.
This fof example has appened for imp.py wich is imported by inspect.py but for some reason it's not present in my local cpython install but it is present in the original repo, or in case we decide to use one from somewhere else entirely.

@ns-cweber It may be a bit noisy, but I'm willing to try it out. The reviews should be pretty low intensity. Feel free to request changes to the wiki.
@luckcolors Links make sense to me.

I'm going to close this in favor of the wiki page.


Fix for bug 329490

Powershell function returns object[] instead of object when there are some messages for echo . redirecting the output of loading dlls to null to change the behavior of the return of function.

can u ask Pavan to review this change. we also need to send for ship room. send a mail

testing  done: bdt in all os

Looks good. We will have to modify our SDK to handle these scenarios better.


Frontier - Add Stablecoin Flag

add isStable: true, to all stablecoins (terra, gbridge, axl)
one task of #481

Added this to refactor branch. LMK if you need to change/add more flags

Added this to refactor branch. LMK if you need to change/add more flags


Feat : Create a basic contract for proof api health check

What?
Create a smart contract to generate events for Proof API
Why?
We need a consistent source of events to prove on other chains
How?
The contract has a method that accepts transactions
Testing?
N/A

Summary by CodeRabbit

New Features

Introduced a smart contract for managing Ether transactions and logging events.
Added functionality for receiving Ether and sending it to specified recipients.
Implemented event logging for transaction details, including health checks and transfers.
Provided a method to retrieve the current Ether balance of the contract.

might be nice if we had some sort of dynamic event emitting. Wondereing if we can do emit 0x... with arbitrary bytes or if compiler won't like that

No longer needed for now


Fixes an issue that crashes the NetP extension

IMPORTANT: this PR is targetting release/7.94.0
Task/Issue URL: https://app.asana.com/0/0/1205948647103120/f
BSK PR: https://github.com/duckduckgo/BrowserServicesKit/pull/561
macOS PR: https://github.com/duckduckgo/macos-browser/pull/1846
Description
Fixes a crasher in NetP iOS and macOS.
Testing
There's not a lot to test, it seems I merged a test line by mistake to BSK.

Internal references:
Software Engineering Expectations
Technical Design Template

Will reopen when merging the BSK changes to develop.


Add MessagePack item parser

This PR implements a base model and a parser for the MessagePack low representation. There are a few tests included along with a basic benchmark. These are the results of the benchmark ran on i7-8550u:
Benchmark                                      Mode  Cnt     Score    Error  Units
MsgPackItemParserBenchmarks.parseMsgpackItems  avgt   10  4367.981 ± 67.376  us/op

The last two commits made the parser a bit faster:
Benchmark                                      Mode  Cnt      Score     Error  Units
MsgPackItemParserBenchmarks.parseMsgpackItems  avgt   10  23144.104 ? 412.640  us/op

Which is an around 30% speedup.

I am considering adding explicit 0-length checks into format parsers and making the count <= 0 in requireBytes raise instead of emiting an empty ByteVector. This way we could differentiate between unwanted and wanted behavior (e.g. 0-length string is valid whereas integer is not).

Note: the workflow are not up-to-date with the build, be sure to run sbt prePR to check that all static checks are passing.

This looks good to me for a first PR. Can you provide the latest benchmarks in the description?

Regarding the compilation failure, this is due to the fact that pattern matches with guards cannot be compiled to a switch. So it emits a warning, which is an error i the CI.
To keep the efficient switch compilation, you'll need to put back the if structure within the catch-all case in the end.

Interestingly, this warning has not been showing up in my local builds. After some digging, I found out that the match compiles just fine on scala 2.13 but fails on 3.3.3. Not sure if this is an intended behavior or a bug.

Regarding the compilation failure, this is due to the fact that pattern matches with guards cannot be compiled to a switch. So it emits a warning, which is an error i the CI.
To keep the efficient switch compilation, you'll need to put back the if structure within the catch-all case in the end.

Interestingly, this warning has not been showing up in my local builds. After some digging, I found out that the match compiles just fine on scala 2.13 but fails on 3.3.3. Not sure if this is an intended behavior or a bug.

Behaviors are different on that matter in scala 3, and generally speaking scala 3 is more sound. So I tend to use it as the biggest common denominator.

@ybasket Are you fine with the PR?


unnecessary colons in "Wallaroo Core Concepts"

There are colons in "Wallaroo Core Concepts" (book/core-concepts/core-concepts.md) that don't need to be there. They appear at the beginning of each paragraph under "Concepts". For example:
### State

: Accumulated result of data stored over the course of time

The same thing happens in book/core-concepts/decoders-and-encoders.md.
@SeanTAllen were these colons supposed to do something, and if so, what? Currently they just display as a colon at the beginning of the paragraph.

@SeanTAllen has informed me that these are supposed to denote definition list items, and that this used to work in gitbook.

@SeanTAllen since this is no longer working in gitbook and it doesn't look very good, do you have any opinions on how we should handle it now?
The options that I can see are:

manually create the definition table in HTML
change it to a list and use some sort of formatting to indicate that we are defining terms, like "Term -- definition"
... ?

I have no opinions.

Ok, then I'm proposing
* *Term* -- definition

The encoders/decoders have been addressed as part of other work on an unrelated issue.


Profile sanitization improvements

This removes the option to disable sanitization of profiles and adds a small tweak to also strip protected string sequences (|K). Some more work will be done here to improve sanitization of existing fields as well, but that's pending for now.

It's been 13 years months


[The Dee Sanction] Fixed Translation tags.

Changes / Comments
Fixed  data-i18n translation tags.
Roll20 Requests
Comments are very helpful for reviewing the code changes. Please answer the relevant questions below in your comment.

[ x] Does the pull request title have the sheet name(s)? Include each sheet name.
[x ] Is this a bug fix?
[ ] Does this add functional enhancements (new features or extending existing features) ?
[ ] Does this add or change functional aesthetics (such as layout or color scheme) ?
[ ] If changing or removing attributes, what steps have you taken, if any, to preserve player data ?
[ ] If this is a new sheet, did you follow Building Character Sheets standards ?

If you do not know English. Please leave a comment in your native language.

Character Sheet Info Roll20 Internal Use only.


feat: Add some autoreboot on UKI for failures

Now that we have boot assesment we would need to add some auto reboot in certain scenarios for UKI so the boot assesment is more valued.
If we boot complete with no changes and systemctl status report the system as running the current entry will be marked as GOOD and boot assesment removed from that entry
There may be some occasions in which we want to test something or validate something before it marks the entry as good.
It should be documented how to add those services and checks so users can provide their own.
A simple test could be have k3s and check that its up and running and the node is active, if not we mark dont mark the system  as good and reboot
The way of doing it its explained in the https://systemd.io/AUTOMATIC_BOOT_ASSESSMENT/
To support additional components that shall succeed before the boot is considered successful, simply place them in units (if they aren’t already) and order them before the generic boot-complete.target target unit, combined with Requires= dependencies from the target, so that the target cannot be reached when any of the units fail. You may add any number of units like this, and only if they all succeed the boot entry is marked as good. Note that the target unit shall pull in these boot checking units, not the other way around.

Depending on the setup, it may be most convenient to pull in such units through normal enablement symlinks, or during early boot using a [generator](https://www.freedesktop.org/software/systemd/man/systemd.generator.html), or even during later boot. In the last case, care must be taken to ensure that the start job is created before boot-complete.target has been reached.

requirements:

Provide a simple service that checks k3s status and continues if its working, fails if its not.
Add auto reboot service if system is marked as bad
Document how this was done so users can provide their own

All this services should not be part of kairos itself or the framework but done as an example and added to Kairos testing if possible to test the auto assessment works as expected. Kairos itself should not be opinionated in this case, maybe on other but not on this as this is mainly an example on how to add. Adding some extra checks and auto restarts may come down the line but its not part of this ticket.

Maybe https://github.com/systemd/systemd/pull/35529

Gonna try applying the upstream patch directly to our bundled systemd-boot to see if we can fix th is ourselves while we wait for upstream to accept it. As it should only affect sd-boot and we control it, it may be possible

no, the patch just breaks booting loool


Mulitple levels of tabs

Description of the new feature
instead of a single horizontal layer for tabs please allow multiple horizontal layers for tabs too
Proposed technical implementation details
No response

I don't believe this is something we could trivially support, without the upstream WinUI TabView supporting it. Can you file that feature request over at https://github.com/microsoft/microsoft-ui-xaml/issues? Thanks!

Added via https://github.com/microsoft/microsoft-ui-xaml/issues/10143


FAIL	github.com/TheThingsNetwork/core/discovery/announcement

# --- FAIL: TestDiscoveryAnnounce (0.02s)
doc.go:64:
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/core/discovery/discovery_test.go:44
Expected: nil
Actual:   'dial tcp [::1]:6379: getsockopt: connection refused'
doc.go:64:
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/core/discovery/discovery_test.go:47
Expected: nil
Actual:   'dial tcp [::1]:6379: getsockopt: connection refused'
doc.go:64:
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/core/discovery/discovery_test.go:48
Expected [] (length: 0) to have length equal to '1', but it wasn't!
panic: runtime error: index out of range [recovered]
panic: runtime error: index out of range
goroutine 6 [running]:
panic(0x8691e20, 0x18d0c030)
/usr/local/go/src/runtime/panic.go:500 +0x331
testing.tRunner.func1(0x18d0ba00)
/usr/local/go/src/testing/testing.go:579 +0x14f
panic(0x8691e20, 0x18d0c030)
/usr/local/go/src/runtime/panic.go:458 +0x40b
github.com/TheThingsNetwork/ttn/core/discovery.TestDiscoveryAnnounce(0x18d0ba00)
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/core/discovery/discovery_test.go:49 +0xb3d
testing.tRunner(0x18d0ba00, 0x87cc41c)
/usr/local/go/src/testing/testing.go:610 +0x8c
created by testing.(*T).Run
/usr/local/go/src/testing/testing.go:646 +0x2a5
# FAIL	github.com/TheThingsNetwork/ttn/core/discovery	0.104s
--- FAIL: TestCachedAnnouncementStore (0.02s)
doc.go:64:
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/core/discovery/announcement/cache_test.go:31
Expected: nil
Actual:   'dial tcp [::1]:6379: getsockopt: connection refused'
doc.go:64:
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/core/discovery/announcement/cache_test.go:39
Expected: nil
Actual:   'discovery-test-announcement-store:announcement:router:router1 not found'
doc.go:64:
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/core/discovery/announcement/cache_test.go:40
Expected '' to NOT be nil (but it was)!
doc.go:64:
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/core/discovery/announcement/cache_test.go:47
Expected: nil
Actual:   'dial tcp [::1]:6379: getsockopt: connection refused'
doc.go:64:
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/core/discovery/announcement/cache_test.go:57
Expected: nil
Actual:   'dial tcp [::1]:6379: getsockopt: connection refused'
doc.go:64:
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/core/discovery/announcement/cache_test.go:69
Expected: nil
Actual:   'dial tcp [::1]:6379: getsockopt: connection refused'
doc.go:64:
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/core/discovery/announcement/cache_test.go:72
Expected: nil
Actual:   'discovery-test-announcement-store:app_eui:0102030405060708 not found'
doc.go:64:
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/core/discovery/announcement/cache_test.go:73
Expected '' to NOT be nil (but it was)!
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x80c9282]
goroutine 11 [running]:
panic(0x84e06e0, 0x18b0c010)
/usr/local/go/src/runtime/panic.go:500 +0x331
testing.tRunner.func1(0x18b0b480)
/usr/local/go/src/testing/testing.go:579 +0x14f
panic(0x84e06e0, 0x18b0c010)
/usr/local/go/src/runtime/panic.go:458 +0x40b
github.com/TheThingsNetwork/ttn/core/discovery/announcement.TestCachedAnnouncementStore(0x18b0b480)
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/core/discovery/announcement/cache_test.go:74 +0x2252
testing.tRunner(0x18b0b480, 0x85de0ec)
/usr/local/go/src/testing/testing.go:610 +0x8c
created by testing.(*T).Run
/usr/local/go/src/testing/testing.go:646 +0x2a5
# FAIL	github.com/TheThingsNetwork/ttn/core/discovery/announcement	0.154s

Looks like you skipped step 5 of the README.md:

Make sure you have Redis and RabbitMQ installed and running.

thanks, it was my mistake.
I know this is too much but i need your help one more time. The mqtt fails, this is what the test shows me :
ok  	github.com/TheThingsNetwork/ttn/core/discovery/announcement	0.114s
2017/04/11 06:53:47 proto: textWriter unindented too far
VALUE [72 105]
SIGQUIT: quit
PC=0x80a1307 m=0
goroutine 0 [idle]:
runtime.epollwait(0x4, 0xbfd0d314, 0x80, 0xffffffff, 0x0, 0xffffffff, 0x0, 0x0, 0x0, 0x2f5ef6, ...)
/usr/local/go/src/runtime/sys_linux_386.s:538 +0x17
runtime.netpoll(0x8e3fa01, 0x0)
/usr/local/go/src/runtime/netpoll_epoll.go:67 +0x8d
runtime.findrunnable(0x19120a00, 0x0)
/usr/local/go/src/runtime/proc.go:2003 +0x55d
runtime.schedule()
/usr/local/go/src/runtime/proc.go:2120 +0x202
runtime.park_m(0x1955eb40)
/usr/local/go/src/runtime/proc.go:2183 +0x154
runtime.mcall(0xbfd0d9e8)
/usr/local/go/src/runtime/asm_386.s:265 +0x47
goroutine 1 [chan receive, 9 minutes]:
testing.(*T).Run(0x1963f180, 0x893027b, 0xe, 0x8ac1228, 0x1910be01)
/usr/local/go/src/testing/testing.go:647 +0x2c4
testing.RunTests.func1(0x1910be00)
/usr/local/go/src/testing/testing.go:793 +0xa1
testing.tRunner(0x1910be00, 0x19147ee0)
/usr/local/go/src/testing/testing.go:610 +0x8c
testing.RunTests(0x8ac2148, 0x8e3b3a0, 0x20, 0x20, 0x1962be01)
/usr/local/go/src/testing/testing.go:799 +0x347
testing.(*M).Run(0x19147f84, 0x193731c0)
/usr/local/go/src/testing/testing.go:743 +0x79
main.main()
github.com/TheThingsNetwork/ttn/core/handler/_test/_testmain.go:116 +0x100
goroutine 17 [syscall, 9 minutes, locked to thread]:
runtime.goexit()
/usr/local/go/src/runtime/asm_386.s:1612 +0x1
goroutine 11 [sleep]:
time.Sleep(0x540be400, 0x2)
/usr/local/go/src/runtime/time.go:59 +0xd4
github.com/TheThingsNetwork/ttn/vendor/github.com/shirou/gopsutil/process.(*Process).Percent(0x1932db80, 0x540be400, 0x2, 0x0, 0x0, 0x0, 0x0)
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/vendor/github.com/shirou/gopsutil/process/process.go:141 +0x120
github.com/TheThingsNetwork/ttn/api/stats.init.1.func2()
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/api/stats/stats.go:41 +0x66
created by github.com/TheThingsNetwork/ttn/api/stats.init.1
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/api/stats/stats.go:47 +0x3f
goroutine 10 [sleep]:
time.Sleep(0x540be400, 0x2)
/usr/local/go/src/runtime/time.go:59 +0xd4
github.com/TheThingsNetwork/ttn/vendor/github.com/shirou/gopsutil/cpu.Percent(0x540be400, 0x2, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/vendor/github.com/shirou/gopsutil/cpu/cpu.go:146 +0xdd
github.com/TheThingsNetwork/ttn/api/stats.init.1.func1()
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/api/stats/stats.go:28 +0x32
created by github.com/TheThingsNetwork/ttn/api/stats.init.1
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/api/stats/stats.go:34 +0x2a
goroutine 13 [chan receive]:
github.com/TheThingsNetwork/ttn/vendor/gopkg.in/redis.v5/internal/pool.(*ConnPool).reaper(0x195527e0, 0xf8475800, 0xd)
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/vendor/gopkg.in/redis.v5/internal/pool/pool.go:323 +0xaf
created by github.com/TheThingsNetwork/ttn/vendor/gopkg.in/redis.v5/internal/pool.NewConnPool
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/vendor/gopkg.in/redis.v5/internal/pool/pool.go:85 +0x1b4
goroutine 14 [chan receive]:
github.com/TheThingsNetwork/ttn/vendor/gopkg.in/redis.v5/internal/pool.(*ConnPool).reaper(0x19552930, 0xf8475800, 0xd)
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/vendor/gopkg.in/redis.v5/internal/pool/pool.go:323 +0xaf
created by github.com/TheThingsNetwork/ttn/vendor/gopkg.in/redis.v5/internal/pool.NewConnPool
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/vendor/gopkg.in/redis.v5/internal/pool/pool.go:85 +0x1b4
goroutine 15 [chan receive]:
github.com/TheThingsNetwork/ttn/vendor/github.com/rcrowley/go-metrics.(*meterArbiter).tick(0x8e3f2a0)
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/vendor/github.com/rcrowley/go-metrics/meter.go:221 +0x44
created by github.com/TheThingsNetwork/ttn/vendor/github.com/rcrowley/go-metrics.NewMeter
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/vendor/github.com/rcrowley/go-metrics/meter.go:40 +0x110
goroutine 23 [chan receive]:
github.com/TheThingsNetwork/ttn/vendor/gopkg.in/redis.v5/internal/pool.(*ConnPool).reaper(0x195531f0, 0xf8475800, 0xd)
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/vendor/gopkg.in/redis.v5/internal/pool/pool.go:323 +0xaf
created by github.com/TheThingsNetwork/ttn/vendor/gopkg.in/redis.v5/internal/pool.NewConnPool
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/vendor/gopkg.in/redis.v5/internal/pool/pool.go:85 +0x1b4
goroutine 27 [chan receive, 9 minutes]:
github.com/TheThingsNetwork/ttn/amqp.(*DefaultClient).connect.func1(0x191a1700, 0x19544ea0)
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/amqp/client.go:104 +0x3d
created by github.com/TheThingsNetwork/ttn/amqp.(*DefaultClient).connect
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/amqp/client.go:111 +0x1b8
goroutine 174 [chan receive]:
github.com/TheThingsNetwork/ttn/vendor/gopkg.in/redis.v5/internal/pool.(*ConnPool).reaper(0x1911a850, 0xf8475800, 0xd)
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/vendor/gopkg.in/redis.v5/internal/pool/pool.go:323 +0xaf
created by github.com/TheThingsNetwork/ttn/vendor/gopkg.in/redis.v5/internal/pool.NewConnPool
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/vendor/gopkg.in/redis.v5/internal/pool/pool.go:85 +0x1b4
goroutine 96 [chan receive]:
github.com/TheThingsNetwork/ttn/vendor/gopkg.in/redis.v5/internal/pool.(*ConnPool).reaper(0x193263f0, 0xf8475800, 0xd)
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/vendor/gopkg.in/redis.v5/internal/pool/pool.go:323 +0xaf
created by github.com/TheThingsNetwork/ttn/vendor/gopkg.in/redis.v5/internal/pool.NewConnPool
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/vendor/gopkg.in/redis.v5/internal/pool/pool.go:85 +0x1b4
goroutine 28 [chan receive, 9 minutes]:
github.com/TheThingsNetwork/ttn/vendor/github.com/streadway/amqp.bufferDeliveries(0x191a1980, 0x191a1940)
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/vendor/github.com/streadway/amqp/consumers.go:38 +0x64
created by github.com/TheThingsNetwork/ttn/vendor/github.com/streadway/amqp.(*consumers).add
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/vendor/github.com/streadway/amqp/consumers.go:74 +0xec
goroutine 48 [IO wait]:
net.runtime_pollWait(0xb5c38f90, 0x72, 0x19405000)
/usr/local/go/src/runtime/netpoll.go:160 +0x55
net.(*pollDesc).wait(0x1924b5f8, 0x72, 0x0, 0x0)
/usr/local/go/src/net/fd_poll_runtime.go:73 +0x35
net.(*pollDesc).waitRead(0x1924b5f8, 0x0, 0x0)
/usr/local/go/src/net/fd_poll_runtime.go:78 +0x33
net.(*netFD).Read(0x1924b5c0, 0x19405000, 0x1000, 0x1000, 0x0, 0x8e132c0, 0x191100f0)
/usr/local/go/src/net/fd_unix.go:243 +0x1c2
net.(*conn).Read(0x1934b148, 0x19405000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:173 +0xa9
bufio.(*Reader).fill(0x1936b8c0)
/usr/local/go/src/bufio/bufio.go:97 +0x172
bufio.(*Reader).Read(0x1936b8c0, 0x1950d0d2, 0x7, 0x7, 0x0, 0x0, 0x0)
/usr/local/go/src/bufio/bufio.go:209 +0x1b9
io.ReadAtLeast(0x8e10e40, 0x1936b8c0, 0x1950d0d2, 0x7, 0x7, 0x7, 0x0, 0x0, 0x0)
/usr/local/go/src/io/io.go:307 +0xab
io.ReadFull(0x8e10e40, 0x1936b8c0, 0x1950d0d2, 0x7, 0x7, 0x1924b940, 0x0, 0x0)
/usr/local/go/src/io/io.go:325 +0x51
github.com/TheThingsNetwork/ttn/vendor/github.com/streadway/amqp.(*reader).ReadFrame(0x1913af74, 0x0, 0x0, 0x0, 0x0)
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/vendor/github.com/streadway/amqp/read.go:49 +0xad
github.com/TheThingsNetwork/ttn/vendor/github.com/streadway/amqp.(*Connection).reader(0x19594e60, 0xb5c391e8, 0x1934b148)
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/vendor/github.com/streadway/amqp/connection.go:501 +0x109
created by github.com/TheThingsNetwork/ttn/vendor/github.com/streadway/amqp.Open
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/vendor/github.com/streadway/amqp/connection.go:219 +0x311
goroutine 49 [select]:
github.com/TheThingsNetwork/ttn/vendor/github.com/streadway/amqp.(*Connection).heartbeater(0x19594e60, 0x540be400, 0x2, 0x1924b980)
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/vendor/github.com/streadway/amqp/connection.go:531 +0x57d
created by github.com/TheThingsNetwork/ttn/vendor/github.com/streadway/amqp.(*Connection).openTune
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/vendor/github.com/streadway/amqp/connection.go:753 +0x62f
goroutine 50 [chan receive, 9 minutes]:
github.com/TheThingsNetwork/ttn/amqp.(*consumer).use.func1(0x191a1940, 0x19346e90)
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/amqp/subscriber.go:103 +0x5b
created by github.com/TheThingsNetwork/ttn/amqp.(*consumer).use
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/amqp/subscriber.go:106 +0x164
goroutine 51 [chan send (nil chan), 9 minutes]:
github.com/TheThingsNetwork/ttn/core/handler.(*handler).EnqueueDownlink(0x1925db80, 0x1936bb60, 0x0, 0x0)
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/core/handler/downlink.go:92 +0x6cb
github.com/TheThingsNetwork/ttn/core/handler.(*handler).HandleAMQP.func3(0x8e1cc60, 0x1955dc80, 0x195451e0, 0x11, 0x19545200, 0x11, 0x195451e0, 0x11, 0x19545200, 0x11, ...)
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/core/handler/amqp.go:64 +0x69
github.com/TheThingsNetwork/ttn/amqp.(*DefaultSubscriber).SubscribeDeviceDownlink.func1(0x1924ba00, 0x1955dc80, 0x1934b1b0)
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/amqp/downlink.go:43 +0x305
created by github.com/TheThingsNetwork/ttn/amqp.(*DefaultSubscriber).SubscribeDeviceDownlink
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/amqp/downlink.go:46 +0xff
goroutine 52 [chan receive, 9 minutes]:
github.com/TheThingsNetwork/ttn/core/handler.(*handler).HandleAMQP.func4(0x1925db80, 0x8e1ce40, 0x1934b228)
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/core/handler/amqp.go:81 +0x172
created by github.com/TheThingsNetwork/ttn/core/handler.(*handler).HandleAMQP
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/core/handler/amqp.go:91 +0x3d8
goroutine 176 [chan receive]:
github.com/TheThingsNetwork/ttn/vendor/gopkg.in/redis.v5/internal/pool.(*ConnPool).reaper(0x1911b030, 0xf8475800, 0xd)
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/vendor/gopkg.in/redis.v5/internal/pool/pool.go:323 +0xaf
created by github.com/TheThingsNetwork/ttn/vendor/gopkg.in/redis.v5/internal/pool.NewConnPool
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/vendor/gopkg.in/redis.v5/internal/pool/pool.go:85 +0x1b4
goroutine 170 [chan receive]:
github.com/TheThingsNetwork/ttn/vendor/gopkg.in/redis.v5/internal/pool.(*ConnPool).reaper(0x1911a2a0, 0xf8475800, 0xd)
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/vendor/gopkg.in/redis.v5/internal/pool/pool.go:323 +0xaf
created by github.com/TheThingsNetwork/ttn/vendor/gopkg.in/redis.v5/internal/pool.NewConnPool
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/vendor/gopkg.in/redis.v5/internal/pool/pool.go:85 +0x1b4
goroutine 172 [chan receive]:
github.com/TheThingsNetwork/ttn/vendor/gopkg.in/redis.v5/internal/pool.(*ConnPool).reaper(0x1911a540, 0xf8475800, 0xd)
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/vendor/gopkg.in/redis.v5/internal/pool/pool.go:323 +0xaf
created by github.com/TheThingsNetwork/ttn/vendor/gopkg.in/redis.v5/internal/pool.NewConnPool
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/vendor/gopkg.in/redis.v5/internal/pool/pool.go:85 +0x1b4
goroutine 167 [chan receive]:
github.com/TheThingsNetwork/ttn/vendor/gopkg.in/redis.v5/internal/pool.(*ConnPool).reaper(0x191b39d0, 0xf8475800, 0xd)
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/vendor/gopkg.in/redis.v5/internal/pool/pool.go:323 +0xaf
created by github.com/TheThingsNetwork/ttn/vendor/gopkg.in/redis.v5/internal/pool.NewConnPool
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/vendor/gopkg.in/redis.v5/internal/pool/pool.go:85 +0x1b4
goroutine 165 [chan receive]:
github.com/TheThingsNetwork/ttn/vendor/gopkg.in/redis.v5/internal/pool.(*ConnPool).reaper(0x191b2e00, 0xf8475800, 0xd)
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/vendor/gopkg.in/redis.v5/internal/pool/pool.go:323 +0xaf
created by github.com/TheThingsNetwork/ttn/vendor/gopkg.in/redis.v5/internal/pool.NewConnPool
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/vendor/gopkg.in/redis.v5/internal/pool/pool.go:85 +0x1b4
goroutine 163 [chan receive]:
github.com/TheThingsNetwork/ttn/vendor/gopkg.in/redis.v5/internal/pool.(*ConnPool).reaper(0x191b28c0, 0xf8475800, 0xd)
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/vendor/gopkg.in/redis.v5/internal/pool/pool.go:323 +0xaf
created by github.com/TheThingsNetwork/ttn/vendor/gopkg.in/redis.v5/internal/pool.NewConnPool
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/vendor/gopkg.in/redis.v5/internal/pool/pool.go:85 +0x1b4
goroutine 140 [chan receive, 9 minutes]:
github.com/TheThingsNetwork/ttn/core/handler.TestHandleDownlink.func4(0x1925dd60, 0x194fab60, 0x194fab70)
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/core/handler/downlink_test.go:186 +0x40
created by github.com/TheThingsNetwork/ttn/core/handler.TestHandleDownlink
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/core/handler/downlink_test.go:189 +0xe70
goroutine 135 [chan receive]:
github.com/TheThingsNetwork/ttn/vendor/gopkg.in/redis.v5/internal/pool.(*ConnPool).reaper(0x1944afc0, 0xf8475800, 0xd)
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/vendor/gopkg.in/redis.v5/internal/pool/pool.go:323 +0xaf
created by github.com/TheThingsNetwork/ttn/vendor/gopkg.in/redis.v5/internal/pool.NewConnPool
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/vendor/gopkg.in/redis.v5/internal/pool/pool.go:85 +0x1b4
goroutine 130 [chan receive]:
github.com/TheThingsNetwork/ttn/vendor/gopkg.in/redis.v5/internal/pool.(*ConnPool).reaper(0x1944abd0, 0xf8475800, 0xd)
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/vendor/gopkg.in/redis.v5/internal/pool/pool.go:323 +0xaf
created by github.com/TheThingsNetwork/ttn/vendor/gopkg.in/redis.v5/internal/pool.NewConnPool
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/vendor/gopkg.in/redis.v5/internal/pool/pool.go:85 +0x1b4
goroutine 142 [chan receive]:
github.com/TheThingsNetwork/ttn/vendor/gopkg.in/redis.v5/internal/pool.(*ConnPool).reaper(0x1944b730, 0xf8475800, 0xd)
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/vendor/gopkg.in/redis.v5/internal/pool/pool.go:323 +0xaf
created by github.com/TheThingsNetwork/ttn/vendor/gopkg.in/redis.v5/internal/pool.NewConnPool
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/vendor/gopkg.in/redis.v5/internal/pool/pool.go:85 +0x1b4
goroutine 106 [chan receive]:
github.com/TheThingsNetwork/ttn/vendor/gopkg.in/redis.v5/internal/pool.(*ConnPool).reaper(0x19326000, 0xf8475800, 0xd)
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/vendor/gopkg.in/redis.v5/internal/pool/pool.go:323 +0xaf
created by github.com/TheThingsNetwork/ttn/vendor/gopkg.in/redis.v5/internal/pool.NewConnPool
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/vendor/gopkg.in/redis.v5/internal/pool/pool.go:85 +0x1b4
goroutine 111 [chan receive]:
github.com/TheThingsNetwork/ttn/vendor/gopkg.in/redis.v5/internal/pool.(*ConnPool).reaper(0x193278f0, 0xf8475800, 0xd)
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/vendor/gopkg.in/redis.v5/internal/pool/pool.go:323 +0xaf
created by github.com/TheThingsNetwork/ttn/vendor/gopkg.in/redis.v5/internal/pool.NewConnPool
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/vendor/gopkg.in/redis.v5/internal/pool/pool.go:85 +0x1b4
goroutine 227 [chan receive]:
github.com/TheThingsNetwork/ttn/vendor/gopkg.in/redis.v5/internal/pool.(*ConnPool).reaper(0x1911b8f0, 0xf8475800, 0xd)
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/vendor/gopkg.in/redis.v5/internal/pool/pool.go:323 +0xaf
created by github.com/TheThingsNetwork/ttn/vendor/gopkg.in/redis.v5/internal/pool.NewConnPool
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/vendor/gopkg.in/redis.v5/internal/pool/pool.go:85 +0x1b4
goroutine 157 [chan send (nil chan), 9 minutes]:
github.com/TheThingsNetwork/ttn/core/handler.TestHandleMQTT(0x1963f180)
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/core/handler/mqtt_test.go:72 +0xb7b
testing.tRunner(0x1963f180, 0x8ac1228)
/usr/local/go/src/testing/testing.go:610 +0x8c
created by testing.(*T).Run
/usr/local/go/src/testing/testing.go:646 +0x2a5
goroutine 118 [chan receive]:
github.com/TheThingsNetwork/ttn/vendor/gopkg.in/redis.v5/internal/pool.(*ConnPool).reaper(0x1949ff80, 0xf8475800, 0xd)
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/vendor/gopkg.in/redis.v5/internal/pool/pool.go:323 +0xaf
created by github.com/TheThingsNetwork/ttn/vendor/gopkg.in/redis.v5/internal/pool.NewConnPool
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/vendor/gopkg.in/redis.v5/internal/pool/pool.go:85 +0x1b4
goroutine 120 [chan receive]:
github.com/TheThingsNetwork/ttn/vendor/gopkg.in/redis.v5/internal/pool.(*ConnPool).reaper(0x193a2380, 0xf8475800, 0xd)
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/vendor/gopkg.in/redis.v5/internal/pool/pool.go:323 +0xaf
created by github.com/TheThingsNetwork/ttn/vendor/gopkg.in/redis.v5/internal/pool.NewConnPool
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/vendor/gopkg.in/redis.v5/internal/pool/pool.go:85 +0x1b4
goroutine 126 [chan receive]:
github.com/TheThingsNetwork/ttn/vendor/gopkg.in/redis.v5/internal/pool.(*ConnPool).reaper(0x193a2fc0, 0xf8475800, 0xd)
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/vendor/gopkg.in/redis.v5/internal/pool/pool.go:323 +0xaf
created by github.com/TheThingsNetwork/ttn/vendor/gopkg.in/redis.v5/internal/pool.NewConnPool
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/vendor/gopkg.in/redis.v5/internal/pool/pool.go:85 +0x1b4
goroutine 147 [chan receive]:
github.com/TheThingsNetwork/ttn/vendor/gopkg.in/redis.v5/internal/pool.(*ConnPool).reaper(0x192c52d0, 0xf8475800, 0xd)
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/vendor/gopkg.in/redis.v5/internal/pool/pool.go:323 +0xaf
created by github.com/TheThingsNetwork/ttn/vendor/gopkg.in/redis.v5/internal/pool.NewConnPool
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/vendor/gopkg.in/redis.v5/internal/pool/pool.go:85 +0x1b4
goroutine 148 [chan receive]:
github.com/TheThingsNetwork/ttn/vendor/gopkg.in/redis.v5/internal/pool.(*ConnPool).reaper(0x192763f0, 0xf8475800, 0xd)
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/vendor/gopkg.in/redis.v5/internal/pool/pool.go:323 +0xaf
created by github.com/TheThingsNetwork/ttn/vendor/gopkg.in/redis.v5/internal/pool.NewConnPool
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/vendor/gopkg.in/redis.v5/internal/pool/pool.go:85 +0x1b4
goroutine 156 [semacquire, 9 minutes]:
sync.runtime_Semacquire(0x194fab7c)
/usr/local/go/src/runtime/sema.go:47 +0x26
sync.(*WaitGroup).Wait(0x194fab70)
/usr/local/go/src/sync/waitgroup.go:131 +0xa4
github.com/TheThingsNetwork/ttn/utils/testing.(*WaitGroup).WaitFor.func1(0x194fab70, 0x191a7a80)
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/utils/testing/testing.go:37 +0x27
created by github.com/TheThingsNetwork/ttn/utils/testing.(*WaitGroup).WaitFor
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/utils/testing/testing.go:40 +0x6e
eax    0xfffffffc
ebx    0x4
ecx    0xbfd0d314
edx    0x80
edi    0xbfd0d914
esi    0xffffffff
ebp    0x8e3ff60
esp    0xbfd0d2e8
eip    0x80a1307
eflags 0x246
cs     0x73
fs     0x0
gs     0x33
*** Test killed with quit: ran too long (10m0s).
FAIL	github.com/TheThingsNetwork/ttn/core/handler	600.100s
ok  	github.com/TheThingsNetwork/ttn/core/handler/application	0.012s
ok  	github.com/TheThingsNetwork/ttn/core/handler/cayennelpp	0.101s
ok  	github.com/TheThingsNetwork/ttn/core/handler/device	0.081s
ok  	github.com/TheThingsNetwork/ttn/core/handler/functions	0.082s
ok  	github.com/TheThingsNetwork/ttn/core/networkserver	0.192s
ok  	github.com/TheThingsNetwork/ttn/core/networkserver/device	0.024s
ok  	github.com/TheThingsNetwork/ttn/core/proxy	0.006s
ok  	github.com/TheThingsNetwork/ttn/core/router	0.127s
ok  	github.com/TheThingsNetwork/ttn/core/router/gateway	0.575s
ok  	github.com/TheThingsNetwork/ttn/core/storage	0.033s
ok  	github.com/TheThingsNetwork/ttn/core/types	0.010s
--- FAIL: TestPublishActivations (10.02s)
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
doc.go:64:
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/mqtt/client_test.go:37
Expected: nil
Actual:   'Not Connected'
doc.go:64:
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/mqtt/activations_test.go:33
Expected: nil
Actual:   'Not Connected'
--- FAIL: TestSubscribeDeviceActivations (10.05s)
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
doc.go:64:
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/mqtt/client_test.go:37
Expected: nil
Actual:   'Not Connected'
doc.go:64:
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/mqtt/activations_test.go:46
Expected: nil
Actual:   'Not Connected'
doc.go:64:
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/mqtt/client_test.go:37
Expected: nil
Actual:   'Not Connected'
doc.go:64:
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/mqtt/activations_test.go:50
Expected: nil
Actual:   'Not Connected'
--- FAIL: TestSubscribeAppActivations (10.02s)
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
doc.go:64:
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/mqtt/client_test.go:37
Expected: nil
Actual:   'Not Connected'
doc.go:64:
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/mqtt/activations_test.go:63
Expected: nil
Actual:   'Not Connected'
doc.go:64:
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/mqtt/client_test.go:37
Expected: nil
Actual:   'Not Connected'
doc.go:64:
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/mqtt/activations_test.go:67
Expected: nil
Actual:   'Not Connected'
--- FAIL: TestSubscribeActivations (10.02s)
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
doc.go:64:
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/mqtt/client_test.go:37
Expected: nil
Actual:   'Not Connected'
doc.go:64:
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/mqtt/activations_test.go:80
Expected: nil
Actual:   'Not Connected'
doc.go:64:
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/mqtt/client_test.go:37
Expected: nil
Actual:   'Not Connected'
doc.go:64:
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/mqtt/activations_test.go:84
Expected: nil
Actual:   'Not Connected'
--- FAIL: TestPubSubActivations (10.22s)
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
doc.go:64:
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/mqtt/client_test.go:37
Expected: nil
Actual:   'Not Connected'
doc.go:64:
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/mqtt/client_test.go:37
Expected: nil
Actual:   'Not Connected'
doc.go:64:
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/mqtt/activations_test.go:112
Expected: nil
Actual:   'Wait timeout expired'
doc.go:64:
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/mqtt/client_test.go:37
Expected: nil
Actual:   'Not Connected'
--- FAIL: TestPubSubAppActivations (10.26s)
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
doc.go:64:
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/mqtt/client_test.go:37
Expected: nil
Actual:   'Not Connected'
doc.go:64:
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/mqtt/client_test.go:37
Expected: nil
Actual:   'Not Connected'
doc.go:64:
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/mqtt/client_test.go:37
Expected: nil
Actual:   'Not Connected'
doc.go:64:
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/mqtt/activations_test.go:148
Expected: nil
Actual:   'Wait timeout expired'
doc.go:64:
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/mqtt/client_test.go:37
Expected: nil
Actual:   'Not Connected'
--- FAIL: TestConnect (20.04s)
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
doc.go:64:
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/mqtt/client_test.go:88
Expected: nil
Actual:   'Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused)'
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
doc.go:64:
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/mqtt/client_test.go:93
Expected: nil
Actual:   'Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused)'
--- FAIL: TestIsConnected (0.10s)
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
doc.go:64:
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/mqtt/client_test.go:136
Expected: true
Actual:   false
--- FAIL: TestRandomTopicPublish (0.16s)
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=TestRandomTopicPublish
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=TestRandomTopicPublish
doc.go:64:
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/mqtt/client_test.go:37
Expected: nil
Actual:   'Not Connected'
doc.go:64:
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/mqtt/client_test.go:37
Expected: nil
Actual:   'Not Connected'
log_handler.go:95:   INFO This test should have printed one message. tag=TestRandomTopicPublish
--- FAIL: TestPublishDownlink (0.11s)
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
doc.go:64:
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/mqtt/client_test.go:37
Expected: nil
Actual:   'Not Connected'
doc.go:64:
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/mqtt/downlink_test.go:33
Expected: nil
Actual:   'Not Connected'
--- FAIL: TestSubscribeDeviceDownlink (0.11s)
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
doc.go:64:
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/mqtt/client_test.go:37
Expected: nil
Actual:   'Not Connected'
doc.go:64:
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/mqtt/downlink_test.go:46
Expected: nil
Actual:   'Not Connected'
doc.go:64:
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/mqtt/client_test.go:37
Expected: nil
Actual:   'Not Connected'
doc.go:64:
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/mqtt/downlink_test.go:50
Expected: nil
Actual:   'Not Connected'
--- FAIL: TestSubscribeAppDownlink (0.10s)
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
doc.go:64:
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/mqtt/client_test.go:37
Expected: nil
Actual:   'Not Connected'
doc.go:64:
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/mqtt/downlink_test.go:63
Expected: nil
Actual:   'Not Connected'
doc.go:64:
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/mqtt/client_test.go:37
Expected: nil
Actual:   'Not Connected'
doc.go:64:
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/mqtt/downlink_test.go:67
Expected: nil
Actual:   'Not Connected'
--- FAIL: TestSubscribeDownlink (0.11s)
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
doc.go:64:
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/mqtt/client_test.go:37
Expected: nil
Actual:   'Not Connected'
doc.go:64:
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/mqtt/downlink_test.go:80
Expected: nil
Actual:   'Not Connected'
doc.go:64:
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/mqtt/client_test.go:37
Expected: nil
Actual:   'Not Connected'
doc.go:64:
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/mqtt/downlink_test.go:84
Expected: nil
Actual:   'Not Connected'
--- FAIL: TestPubSubDownlink (0.31s)
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
doc.go:64:
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/mqtt/client_test.go:37
Expected: nil
Actual:   'Not Connected'
doc.go:64:
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/mqtt/client_test.go:37
Expected: nil
Actual:   'Not Connected'
doc.go:64:
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/mqtt/downlink_test.go:112
Expected: nil
Actual:   'Wait timeout expired'
doc.go:64:
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/mqtt/client_test.go:37
Expected: nil
Actual:   'Not Connected'
--- FAIL: TestPubSubAppDownlink (0.31s)
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
doc.go:64:
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/mqtt/client_test.go:37
Expected: nil
Actual:   'Not Connected'
doc.go:64:
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/mqtt/client_test.go:37
Expected: nil
Actual:   'Not Connected'
doc.go:64:
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/mqtt/client_test.go:37
Expected: nil
Actual:   'Not Connected'
doc.go:64:
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/mqtt/downlink_test.go:148
Expected: nil
Actual:   'Wait timeout expired'
doc.go:64:
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/mqtt/client_test.go:37
Expected: nil
Actual:   'Not Connected'
--- FAIL: TestPublishSubscribeAppEvents (0.20s)
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
doc.go:64:
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/mqtt/client_test.go:37
Expected: nil
Actual:   'Not Connected'
doc.go:64:
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/mqtt/client_test.go:37
Expected: nil
Actual:   'Not Connected'
doc.go:64:
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/mqtt/client_test.go:37
Expected: nil
Actual:   'Not Connected'
--- FAIL: TestPublishSubscribeDeviceEvents (0.22s)
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
doc.go:64:
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/mqtt/client_test.go:37
Expected: nil
Actual:   'Not Connected'
doc.go:64:
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/mqtt/client_test.go:37
Expected: nil
Actual:   'Not Connected'
doc.go:64:
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/mqtt/client_test.go:37
Expected: nil
Actual:   'Not Connected'
--- FAIL: TestPublishUplink (0.10s)
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
doc.go:64:
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/mqtt/client_test.go:37
Expected: nil
Actual:   'Not Connected'
--- FAIL: TestPublishUplinkFields (1.11s)
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
log_handler.go:95:   WARN Could not connect to MQTT Broker (Network Error : dial tcp [::1]:1883: getsockopt: connection refused). Retrying... tag=Test
doc.go:64:
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/mqtt/client_test.go:37
Expected: nil
Actual:   'Not Connected'
log_handler.go:95:   WARN Error publishing uplink fields: Not Connected tag=Test
log_handler.go:95:   WARN Error publishing uplink fields: Not Connected tag=Test
log_handler.go:95:   WARN Error publishing uplink fields: Not Connected tag=Test
log_handler.go:95:   WARN Error publishing uplink fields: Not Connected tag=Test
log_handler.go:95:   WARN Error publishing uplink fields: Not Connected tag=Test
log_handler.go:95:   WARN Error publishing uplink fields: Not Connected tag=Test
log_handler.go:95:   WARN Error publishing uplink fields: Not Connected tag=Test
log_handler.go:95:   WARN Error publishing uplink fields: Not Connected tag=Test
log_handler.go:95:   WARN Error publishing uplink fields: Not Connected tag=Test
log_handler.go:95:   WARN Error publishing uplink fields: Not Connected tag=Test
doc.go:64:
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/mqtt/client_test.go:37
Expected: nil
Actual:   'Not Connected'
panic: Did not receive fields [recovered]
panic: Did not receive fields
goroutine 594 [running]:
panic(0x8416f40, 0x18cd4808)
/usr/local/go/src/runtime/panic.go:500 +0x331
testing.tRunner.func1(0x18c30600)
/usr/local/go/src/testing/testing.go:579 +0x14f
panic(0x8416f40, 0x18cd4808)
/usr/local/go/src/runtime/panic.go:458 +0x40b
github.com/TheThingsNetwork/ttn/mqtt.TestPublishUplinkFields(0x18c30600)
/home/administrator/work/src/github.com/TheThingsNetwork/ttn/mqtt/uplink_test.go:104 +0xb46
testing.tRunner(0x18c30600, 0x8514c4c)
/usr/local/go/src/testing/testing.go:610 +0x8c
created by testing.(*T).Run
/usr/local/go/src/testing/testing.go:646 +0x2a5
FAIL	github.com/TheThingsNetwork/ttn/mqtt	86.245s
ok  	github.com/TheThingsNetwork/ttn/ttnctl/util	0.116s
ok  	github.com/TheThingsNetwork/ttn/utils/fcnt	0.003s
ok  	github.com/TheThingsNetwork/ttn/utils/otaa	0.007s
ok  	github.com/TheThingsNetwork/ttn/utils/parse	0.003s
ok  	github.com/TheThingsNetwork/ttn/utils/security	0.045s
ok  	github.com/TheThingsNetwork/ttn/utils/toa	0.009s
Makefile:76: recipe for target 'test' failed
make: *** [test] Error 1

Let me copy-paste the steps from README:

Make sure you have Go installed (version 1.7 or later).
 On Linux install build-essential. On macOS, make comes with XCode or the developer tools. On Windows you can get make from https://gnuarmeclipse.github.io/windows-build-tools/
Make sure you have Redis and RabbitMQ installed and running.
On a fresh installation you might need to install the MQTT plugin for RabbitMQ.
If you're on Linux, you probably know how to do that. On a Mac, just run brew bundle. The Windows installer will setup and start RabbitMQ as a service. Use the RabbitMQ Command Prompt (sbin dir) to run commands, i.e. to enable plugins.
Declare a RabbitMQ exchange ttn.handler of type topic. Using the management plugin, declare the exchange in the web interface http://server-name:15672 or using the management cli, run rabbitmqadmin declare exchange name=ttn.handler type=topic auto_delete=false durable=true. If your handler's user has sufficient permissions on RabbitMQ, it will attempt to create the exchange if not present.

Thanks a lot , again my mistake , didn't enable the MQTT plugins.


DocumentArray.pull throws exception on jcloud

Describe the bug
A clear and concise description of what the bug is.
Running the below method in a thread throws the error that's pasted after the code block. This block of code is executed as part of the Executor.init method.
The code runs fine locally using the jina executor cli command.
def extract_and_index(part_idx, es, es_index_batch_size, index_name):
    import logging

    logging.basicConfig(level=logging.DEBUG)

    logger = logging.getLogger('extract_and_index')
    part_prefix = f'laion400m_part_{part_idx}'
    try:
        logger.info(f'Downloading dataset part: {part_idx}.')
        da = DocumentArray.pull(f'jem-fu/{part_prefix}', streaming=True)
        for batch_idx, docs in enumerate(batched(da, es_index_batch_size)):
            logger.info(f'Indexing dataset part: {part_idx}, batch: {batch_idx}.')
            es_actions = list(to_es_docs_iterable(docs, index_name))
            logger.info(f'num es_actions: {len(es_actions)}')
            success, errors = bulk(es, es_actions, raise_on_error=False)
            logger.info(f'indexing successes: {success}')
            logger.info(f'indexing errors: {errors}')
    except Exception as ex:
        logger.error(
            f'Exception downloading/indexing file: {part_prefix} with exception: {ex}',
            ex,
        )
        return False

    return True

INFO   ESLaionIndexer@2489059 dataset_part_start: 0, dataset_num_parts: 3                                          [02/10/23 13:51:22]
INFO   ESLaionIndexer@2489059 Submitting job 0 to thread pool.
INFO:extract_and_index:Downloading dataset part: 0.
INFO   ESLaionIndexer@2489059 Submitting job 1 to thread pool.
INFO   ESLaionIndexer@2489059 Submitting job 2 to thread pool.
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): api.hubble.jina.ai:443
DEBUG:urllib3.connectionpool:https://api.hubble.jina.ai:443 "POST /v2/rpc/user.identity.whoami HTTP/1.1" 200 362
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): api.hubble.jina.ai:443
DEBUG:urllib3.connectionpool:https://api.hubble.jina.ai:443 "POST /v2/rpc/user.identity.whoami HTTP/1.1" 200 362
DEBUG:urllib3.connectionpool:https://api.hubble.jina.ai:443 "POST /v2/rpc/user.identity.whoami HTTP/1.1" 200 362
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): api.hubble.jina.ai:443
DEBUG:urllib3.connectionpool:https://api.hubble.jina.ai:443 "GET /v2/rpc/artifact.getDownloadUrl?name=jem-fu/laion400m_part_0 HTTP/1.1" 200 560
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): s3.us-west-1.amazonaws.com:443
DEBUG:urllib3.connectionpool:https://s3.us-west-1.amazonaws.com:443 "GET /hubble-artifact/62c3a28ac110451000707549/633688ec8d6a7e31873449a0-ce9cb9651e4ad473?response-content-disposition=attachment%3B%20filename%3D%22laion400m_part_0%22%3B%20filename%2A%3DUTF-8%27%27laion400m_part_0&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIATV7HWUCMF3B2HQFC%2F20230210%2Fus-west-1%2Fs3%2Faws4_request&X-Amz-Date=20230210T125124Z&X-Amz-Expires=1200&X-Amz-SignedHeaders=host&X-Amz-Signature=a385996ec528fe3a92ea4e8d0078597e0db40d328a27e5dd82b4e4ae148d5e35 HTTP/1.1"<PHONE_NUMBER>399
--- Logging error ---
Traceback (most recent call last):
  File "/home/girish/workspace/imago-loadtest/ESLaionIndexer/executor.py", line 33, in extract_and_index
    for batch_idx, docs in enumerate(batched(da, es_index_batch_size)):
  File "/home/girish/workspace/imago-loadtest/venv/lib/python3.8/site-packages/more_itertools/recipes.py", line 838, in batched
    batch = list(islice(it, n))
  File "/home/girish/workspace/imago-loadtest/venv/lib/python3.8/site-packages/docarray/array/mixins/io/binary.py", line 114, in _load_binary_stream
    version_numdocs_lendoc0 = f.read(9)
AttributeError: 'LazyRequestReader' object has no attribute 'read'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.8/logging/__init__.py", line 1085, in emit
    msg = self.format(record)
  File "/usr/lib/python3.8/logging/__init__.py", line 929, in format
    return fmt.format(record)
  File "/usr/lib/python3.8/logging/__init__.py", line 668, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.8/logging/__init__.py", line 373, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/usr/lib/python3.8/threading.py", line 890, in _bootstrap
    self._bootstrap_inner()
  File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.8/threading.py", line 870, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/lib/python3.8/concurrent/futures/thread.py", line 80, in _worker
    work_item.run()
  File "/usr/lib/python3.8/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/home/girish/workspace/imago-loadtest/ESLaionIndexer/executor.py", line 41, in extract_and_index
    logger.error(
Message: "Exception downloading/indexing file: laion400m_part_0 with exception: 'LazyRequestReader' object has no attribute 'read'"
Arguments: (AttributeError("'LazyRequestReader' object has no attribute 'read'"),)
INFO:extract_and_index:Downloading dataset part: 1.

To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

The streaming=True option for the .pull(...) doesn't work correctly with the more_itertools.batched generator.

please assign me

Will wait for it to be reopened with new docarray version if applicable


Update examples for Electron Forge

We should move away from electron-builder and use Electron Forge for building the example apps.
https://www.electronforge.io/
https://www.electron.build/

Having an explicit electron-builder example was considered but would require another duplicate directory (e.g. example-electron-builder) and would provide limited benefit.

This is halfway to complete, blocked on Forge ESM support - see #243

Implemented in 6.0.1


Way too less epochs for the model to converge.

Epochs for the model need to be increased as per the requirement for the model to converge.

Hello @RamBagga, Looking forward to work on this issue. Can you assign me ? Also, one thing can I create another custom model that can fit better and create an issue and make a PR on that? Eagerly waiting for your reply.

Hey @RamBagga, can you tell me on what metric you want to converge the model? Is it accuracy or loss?

Try to find a good balance bw reducing both.


Child objects not being saved on insert but working fine on update

When adding a new object, using UoW, the parent object gets saved but not the child object even when I'm using GUIDs generated at code level.

Transaction support was added and with that, the issue was fixed.


How to init MySQL database? 如何初始化MySQL数据库？

Can you share the backup file of MySQL? 您可以分享一下MySQL的备份文件吗？

I'll add it to this repo today.

Hi, @rise0chen . I have added the initial file of SQL, please see if it helps, thank you! 165066c00bb19ad7ac8a37738fda8b64abac8ae8

I see it in https://github.com/codetrial/got-auth-service/blob/develop/data/gotauth.sql.
thanks


How to upgrade calico node safely?

If i want to upgrade the calico node, can i just stop the old container then pull and create a new one? is it safe to do so? (means not affect current environment, such as missing route rule or  iptables rules)
If i have a cluster, can i do this one by one or just together?

Hi @frostynova!
Right now we don't support seamless upgrade in calico-docker. The core Calico components do, but in calico-docker if you do that then the current environment absolutely will be affected. We're working on adding this functionality as we speak: expect it in the near future.
It would be interesting to know what you're doing with calico-docker and what your time-scales are. If you're planning some kind of test or trial deployment, and seamless upgrade is important to you, we'd like to know what your time frame is so that we can have it ready by the time you need it. Any information you can give us about what you're running on and what your time frame is would be super useful.

@Lukasa We just work on a new PaaS for our company, which is based on docker. Current we are still being early stage. I choose calico-docker as our network solution and doing some testing on it. We plan to deploy the first demo app later this month, and in the middle of the year to make it a production environment.
I wonder how current environment will be affected? i think route table and iptables' rules are all keeped by the kernel. Does one calico-docker restart will affect other hosts in the same cluster? If not, can we upgrade the calico node one by one with the current one being offline?

As @Lukasa says above, this is something we're still working on, but broadly speaking, yes, you should be able to do a rolling upgrade of your calico-nodes. If you take one down then other nodes will need to re-exchange routes with it over BGP when it comes back (if you're not using a route reflector).

Closing as the question has been answered. We still need to improve our docs around upgrades but we're tracking that internally.

I am back :)
Now we want to upgrade our environment (Calico 0.4.9 + Docker 1.6) to the latest release (Calico 0.10.0 + Docker 1.9 + libnetwork).
If we just let a node offline, upgrade calico & docker on it, then put it online, everything is OK?
I worried that the new node can not join the old network.

Sorry, missed this as the issue was still closed.
Libnetwork complicates things. Make sure you understand it before you upgrade. As long as you use the calico driver and the calico IPAM then you should be OK.
We're going to be releasing v0.11.0 today or maybe over the weekend, I would recommend holding out for that.
Upgrading should be as simple as you describe but we've not tested that particular upgrade. I don't think there have been any non-back compatible data model upgrades. I would highly recommend upgrading a single node first and testing that well!


Is there a way for me to stop mention-bot from mentioning me?

There is a mention-bot instance on a project I no longer have any interest in, which keeps pulling me into PR threads. Can I, as an external user, get mention-bot to ignore me? (i.e. by sending an @mention-bot please don't mention me! message)

Unfortunately, all the settings are based on the repository and it kind of sucks to send a pull request to get you unsubscribed.
You can get rid of all the notifications at once by following those instructions: https://github.com/mention-bot/how-to-unsubscribe
I'm not really sure how to make it more obvious. Feedback welcome! Sorry about this experience :(


WIP - ttl defaults, do not update TTL if excluded

make batch ttl optional
if not provided, add should go to default, update should remain unchanged

I know this still a WIP, but noting that this currently doesn't save the default TTL on the single change model if a TTL isn't provided. Testing in the portal shows an empty TTL field in the batch change summary view.

closing for #670


SharePoint Online doesn't support filtering on 'url' and 'name' fields.

Hi, I faced the inconsistency in the SharePoint Online filtering documentation.
In documentation mentioned that in OneDrive for Business, SharePoint Online and SharePoint Server 2016, filtering support only name and url properties.
API responds on the "https://graph.microsoft.com/v1.0/sites/{siteId}/drive/root/search(q='')?filter=name eq 'some_name'" request  with the message: "Only createdDateTime is supported for filtering".
The request like this "https://graph.microsoft.com/v1.0/sites/{siteId}/drive/root/search(q='')?filter=createdDateTime gt '2019-02-10T09:07:57'" works well.
But request with the 'and' operator ("https://graph.microsoft.com/v1.0/sites/{siteId}/drive/root/search(q='')?filter=createdDateTime gt '2019-02-10T09:07:57' and createdDateTime lt '2019-02-14T09:07:57") fails with the message: "Only createdDateTime is supported for filtering".

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: f9b69523-6e05-fc2e-57c9-4ee861c8e0b2
Version Independent ID: 05845d47-c93a-7b9b-cb65-e18826cc5116
Content: How to filter items - OneDrive API - OneDrive dev center
Content Source: docs/rest-api/concepts/filtering-results.md
Product: onedrive
GitHub Login: @rgregg
Microsoft Alias: rgregg

Thanks for your feedback; please provide the following response headers:

Date (in UTC, please)
request-id
SPRequestGuid (for requests made to OneDrive for Business)


No way to run NuGet package's task only once after build

I need a task that:

Runs after the project build
Only runs once, even on multi-framework projects
Is brought in by a NuGet package

The following works in the .csproj, or a .targets file directly imported by the .csproj. But it does not run in a .targets file brought in by a NuGet package.
<Target Name="RunMyScript" AfterTargets="Build" Condition=" '$(IsCrossTargetingBuild)' == 'true' ">
    <Message Text="===== RunMyScript has been called! =====" Importance="High" />
</Target>

Here's a stripped down version of my project:
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
    <PropertyGroup>
        <OutputType>Library</OutputType>
        <TargetFrameworks>netcoreapp3.0;net462;net48</TargetFrameworks>
        <UseWPF>true</UseWPF>
        <Version>8.6.9</Version>
    </PropertyGroup>
    <ItemGroup>
        <PackageReference Include="MyNuGetPackage" Version="2.2.2">
            <PrivateAssets>all</PrivateAssets>
            <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
        </PackageReference>
    </ItemGroup>
</Project>

Is there a way?

@dasMulli I tried your suggestion (thanks!) and made my nuget package put my targets file in Sdk\Sdk.targets (I don't have a props file). But the target doesn't run, even without conditions. The .csproj looks the same as before. The docs don't look like what I'm doing, to my eye. Any ideas? 🤔

I think you’ll need a props file as well and then you don’t reference the package via NuGet (package reference) but extend the Sdk Attribute in your project to e.g "Microsoft.NET.Sdk;My.Package/1.2.3"
Maybe a full example helps..

Thanks, I wish that were acceptable but it sounds like it requires editing every .csproj by hand? Until multi-framework projects arrived, my coworkers just installed my NuGet package and it "just worked".

You can also create a Directory.Build.props file in your solution directory and put in:
<Project>
  <Import Project="Sdk.targets" Sdk="Your.Pkg/1.2.3" />
</Project>

This file will be auto imported into every capris file in the hierarchy automatically.

The .csproj files are in different products (different codebases) and only select projects need the task. I can't think of a practical way to make use of Directory.Build.props. I appreciate the suggestions.

Duplicate of #2540


Add configuration for allow headers

@hazim1093 Yikes!  Build 1 has Failed!


Getting the error "read-only file system" every time I try to build

I was having issues recently with building/pushing my docker images, so I thought updating the docker software would resolve this, but it did not appear to. Even after updating to Docker version 19.03.12, build 48a66213fe, any time I try to build something, I get the error:
Error response from daemon: mkdir /var/lib/docker/tmp/docker-builder125433410: read-only file system
When I try re-building the same images on a virtual machine (e.g. Amazon EC2 instance), it works. And the docker version I have on the virtual machine is Docker version 19.03.6-ce, build 369ce74.
Any ideas as to how I can resolve this?

"read-only file system" can also be an indication that there's a problem with the disk. The system can out the disk in read-only mode to allow verifying and/or repairing the disk.
Please keep in mind that the GitHub issue tracker is not intended as a general support forum,
but for reporting bugs and feature requests related to the documentation.
For other type of questions, consider using one of;

the Docker Support Forums - https://forums.docker.com
the Docker community Slack channel

I'm closing this issue because of the above, but feel free to continue the conversation

Oh gotcha! I was previously getting warnings that my disk-space is low, but I've created more space since then. If that's what is causing the issue, how would I address that?


invalidate the datasets cache after 3 years instead of 3 months

Quick fix to avoid deleting old cache entries (in particular, to be sure to keep the old dataset cache entries for datasets with a dataset script, now that we don't support scripts anymore)

is it worth the time?

as you want ;)

I'll open a "good first issue" issue for that

https://github.com/huggingface/datasets-server/issues/2061


Include sequence of a new user logging in

Should we include the sequence of a new user as well?

Originally posted by @signekb in https://github.com/seedcase-project/seedcase-sprout/pull/30#discussion_r1437489859
Not sure we should cover this in this repo or not, since authentication will be something almost all apps will share. Maybe it will have to be its own thing? For now, let's keep this on hold, but having this issue as a reminder.

We decided to start the web app from scratch after the major design/architecture decisions and changes we made. No longer relevant.