Running TTS Engine On Node.js Without Saving Files On Server, Auto Delete Temp File Once IT Generated

TTS Service Implementation Guide

File Structure
The following is the recommended file structure for the TTS service:

tts-service/
├── server.js
├── package.json
├── public/
│   └── index.html
└── auto_en_us_904/
    ├── auto_en_us_904.onnx
    ├── tokens.txt
    └── espeak-ng-data/

Code Creation
2.1. Create the package.json File
Run the following command to initialize a new Node.js project:

npm init -y
Install the required packages:
npm install express body-parser sherpa-onnx-node
2.2. Create the server.js File
// server.js
const express = require('express');
const bodyParser = require('body-parser');
const { OfflineTts, writeWave } = require('sherpa-onnx-node');
const fs = require('fs');
const path = require('path');

const app = express();
const port = 3000;

app.use(bodyParser.json());
app.use(express.static(path.join(__dirname, 'public')));

const ttsConfig = {
  model: {
    vits: {
      model: './auto_en_us_904/auto_en_us_904.onnx',
      tokens: './auto_en_us_904/tokens.txt',
      dataDir: './auto_en_us_904/espeak-ng-data',
    },
    debug: true,
    numThreads: 1,
    provider: 'cpu',
  },
  maxNumStences: 1,
};

const tts = new OfflineTts(ttsConfig);

app.post('/generate', (req, res) => {
  const text = req.body.text;
  if (typeof text !== 'string') {
    return res.status(400).send('Invalid input');
  }

  try {
    const audio = tts.generate({ text, sid: 0, speed: 1.0 });
    const filename = 'temp-output.wav';

    // Save the audio to a temp file
    writeWave(filename, { samples: audio.samples, sampleRate: audio.sampleRate });

    // Stream the file back to the client
    res.setHeader('Content-Type', 'audio/wav');
    const readStream = fs.createReadStream(filename);
    readStream.pipe(res);

    // Delete the temp file after streaming
    readStream.on('end', () => {
      fs.unlink(filename, err => {
        if (err) console.error('Failed to delete temp file:', err);
      });
    });

  } catch (error) {
    console.error('Error processing TTS:', error);
    res.status(500).send('Error processing TTS');
  }
});

app.listen(port, () => {
  console.log(`TTS service listening at http://localhost:${port}`);
});

2.3. Create the index.html File
Place this file in the public/ directory:
<!DOCTYPE html>

  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>TTS Service</title>

Text-to-Speech Service

  <textarea id="textInput" rows="5" cols="50" placeholder="Enter text here"></textarea>

  <button onclick="generateSpeech()">Generate Speech</button>

  <audio id="audioPlayer" controls></audio>

Running the Service
Navigate to the Project Directory: Open a terminal or command prompt and navigate to the directory containing your project.

cd path/to/tts-service
Start the Server: Run the following command to start the server.
node server.js
Access the Service: Open a web browser and navigate to http://localhost:3000. You should see the Text-to-Speech Service interface where you can enter text, click the button, and listen to the generated speech.

@studionexus-lk
Thanks for sharing!
Would you like to update our doc to include it?
The source code for the doc is located at
https://github.com/k2-fsa/sherpa/tree/master/docs/source/onnx
You can find how it is rendered at
https://k2-fsa.github.io/sherpa/onnx/index.html

but i don't how to use GitHub and lack of experience Using GitHub

please read https://github.com/firstcontributions/first-contributions
for how to contribute to a repo.
you can also search with google for how to contribute

As for adding to the doc, we are using sphinx RST to write the doc, which is similar to markdown.
Please refer to
https://www.sphinx-doc.org/en/master/tutorial/index.html
for how to using sphinx RST.
You can also have a look at our existing doc source code.
If you have any issues, please feel free to ask.


Do not restrict roles from querying test views

fixes #709

Rebased, and merged.
Thanks for your contribution !


Serious "batch size" regression in rocm3.5(.1)

System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): ubuntu 18.04 (kernel 5.3), rhel 8.2
TensorFlow installed from (source or binary): 2.1, 2.2 (both "build from source" and from pypi)
Python version: 3.6-3.8
GPU model and memory: 2 x radeon 7
Driver: amdgpu, 3.5-32 (used with both rocm3.3 and rocm 3.5(.1))

Describe the current behavior
I'm running many CNN models for image recognition. I use tensorflow. Mirrored strategy. Mixed_float16.
On 3.3 I can use reasonable batch sizes to train my networks (like 32-64).
On 3.5(.1) networks don't train (python kernel crashes with no other info). The only way to make them train is to set super low batch size like 4.
I'm having trouble in setting up both 3.3 and 3.5.1 on one system and my networks are to complex to include them here. I currently have only 3.3 - so it's difficult for me to provide You with an example. But the problem is a blocker for me..
I hope that this will raise a flag that smth is not correct and maybe You can investigate further. If absolutely necessary I am willing to invest some of me own time to help You.

This is to acknowledge that there are a number of regressions happen in ROCm 3.5 context. We have internal ticket filed to ROCm infrastructure team to track this. If your script can work with ROCm 3.3, my advise is to continue in this context. One quick way to check if you are impacted by ROCm 3.5 specific defects is to do a cross check between the disabled unit tests here, and your model script. If your model script includes any of those use case, it is likely to be caused by ROCm 3.5 related regressions.

@jerryyin ok, thanks. :)


Cupertino Icons Gallery hyper text leads to blank site

Page URL
https://pub.dev/packages/cupertino_icons
Page source
No response
Describe the problem
On the link for cupertino_icons, on the bottom of the screen, that hypertext links leads to a site that is not working
Cupertino Icons Gallery and glyph map

Expected fix
If the hyperlinks have been deprecated then remove it
else link proper sites to those hyperlinks
Additional context
No response

Hi @AshAman999
I see there's an open issue addressing the case you described.
Please follow up on that issue, Closing as duplicate of https://github.com/flutter/flutter/issues/88754
If you disagree, please write in the comments and I will reopen it.
Thank you


validation message i18n

I'm submitting a ...  (check one with "x")
[ ] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[x] support request

Current behavior
I have defined email validator and the translation key for validation message, but I don't figure out a way to translate the message before assign it to FormlyModule config
export const emailValidationMessage = 'validation.regex.email.message';

export function emailValidator(control: FormControl): ValidationErrors {
  return emailPattern.test(control.value) ? null : { email: true };
}

@NgModule({
  declarations: [],
  imports: [
    CommonModule,
    TranslateModule,
    ReactiveFormsModule,
    MatChipsModule,
    FormlyMaterialModule,
    FormlyModule.forRoot({
      validators: [
        { name: 'email', validation: emailValidator }
      ],
      validationMessages: [
        { name: 'email', message: emailValidationMessage }
      ]
    }),
    FormlyMatToggleModule
  ],
  exports: [FormlyMaterialModule, FormlyModule, FormlyMatToggleModule]
})
export class FormlyControlsModule {}

Expected behavior
It would be better if there are some documents about this.
Minimal reproduction of the problem with instructions
What is the motivation / use case for changing the behavior?
Please tell us about your environment:
macOS Mojave, VSCode, Node 10.x

Angular version: 7.1.X

Browser: [Chrome 71 ]

Language: [all | TypeScript X.X | ES6/7 | ES5]

Node (for AoT issues): node --version = 10.x

Example from our repo:
https://github.com/asc-lab/ngx-formly-playground/blob/master/app-formly-playground/src/app/shared/services/validations.loader.ts

In v5.7 defining the validation message has been simplified, I've added an example in https://formly.dev/examples/advanced/i18n-alternative:
The ValidationLoader is not needed anymore and can be removed.
export function registerTranslateExtension(translate: TranslateService) {
  return {
+   validationMessages: [
+     {
+       name: 'required',
+       message() {
+         return translate.stream('FORM.VALIDATION.REQUIRED');
+       },
+     },
+   ],
    extensions: [{
      name: 'translate',
      extension: new TranslateExtension(translate)
    }],
  };
}
```:

In the file (https://formly.dev/examples/advanced/i18n-alternative) it says:
export class TranslateExtension {
  constructor(private translate: TranslateService) {}
  prePopulate(field: FormlyFieldConfig) {
    const to = field.templateOptions || {};
    if (!to.translate || to._translated) {
      return;
    }

    to._translated = true;
    field.expressionProperties = {
      ...(field.expressionProperties || {}),
      'templateOptions.label': this.translate.stream(to.label),
    };
  }
}

But why not use something like this:
prePopulate(field: FormlyFieldConfig) {
  const to = field.templateOptions || {};
  if (!to.translate || to._translated) {
    return;
  }

  to._translated = true;
  to.label = this.transloco.translate(to.label);
}

@loxy to.label expect a string value and in our example, we rely on observable value this.translate.stream(to.label) which can be resolved by passing it to expressionProperties

Ah, ok. Thank you. This makes some stuff easier. Great!


Split freedom typescript definition

The current typescript definition of freedom is wrong and confusing, because |freedom| exposes radically different functionality in different contexts, under the same name.  To represent this more accurately in typescript, we should have two definitions, one for the module context and one for the app context.  The definition should at least support the following use patterns:
In the root app or core.
freedom('manifest.json').then(function(UProxy) {
  var myuProxy = new UProxy();
})

===
In a module, on-and-emit style
var myParent = new freedom();
myParent.emit('msg', 'hi');

===
In a module, typed style.
new freedom().providePromises(myCls);

===
In a module, constructing a new dependency of this module.
var mySubProviderThing = new freedom['subproviderthing']();

Done in #100


Implementing this library with USB Camera

Hi, I am trying to implement this library with my SDK from a thermal USB camera for android, as it seems the other project was discontinued.  I tried this repository that uses your library on an endoscopy USB camera and it worked well, so I know there are only a few adjustments to be made. My SDK is fully java, so currently, my trouble is:
in the USBBase.java, I have the following error:
Cannot resolve method 'prepareVideoEncoder(int, int, int, int, int, boolean, int, com.pedro.encoder.video.FormatVideoEncoder)'
and in RtmpUSB.java, the error is this:
Cannot resolve symbol 'SrsFlvMuxer'
Additionally, in the same file USBBase.java, these imports are not found:
import net.ossrs.rtmp.ConnectCheckerRtmp;
import net.ossrs.rtmp.SrsFlvMuxer;

Hello,
Maybe the problem is that you are doing an import of the new library version.
Stream-USB-Test is using library version 1.5.0. You can check it here:
https://github.com/pedroSG94/Stream-USB-test/blob/master/app/build.gradle#L31
So, you have 3 options:

import library in that version using gradle
download zip of that version and add it to your project:
https://github.com/pedroSG94/rtmp-rtsp-stream-client-java/releases/tag/1.5.0
Use the last library version (2.1.7) and refactor RtmpUSB and USBBase to use it.

thanks man, i managed to import the lib


Unable to read request body from ServletRequest twice because InputStream is getting exhausted after first use

I am using Java 17, Spring Boot 3 and logbook-spring-boot-starter:3.9.0
I have a Spring interceptor where I have to read the request body in my application. I also use Logbook to log the request and the response in custom format.
I was previously using the 1.13.0 version of Logbook. After migrating to the latest version, I can read the request body in my Spring interceptor but it is failing at @RequestBody annotation in the Spring Controller class with an error saying Required request body is missing
Possible Fix
After going through the code, I can see that previously with logbook 1.x, the underlying logic of httpServletRequest.getInputStream method was creating a ByteArrayInputStream object every time it gets called. So If I were to call getInputStream 2 times, it returns 2 different ByteArrayInputStream objects.
But now It is getting created once per request. Because of that, the first time getInputStream is called, the stream is closed and the second time we get an empty response body.
Steps to Reproduce
https://github.com/mutyasaisrikar/logbook-error

SpringConfig.java -> TestInterceptor class - reads request body and prints
RestApiTest test fails because the Controller class is not able to read the request body

Hello @whiskeysierra,
This links to a similar issue I have raised before.
https://github.com/zalando/logbook/issues/974
At that time I was not able to understand. But now I have more information about this. Can you please help with this?

@mutyasaisrikar Afaik, it's a default behavior that reading from request stream drains making controllers fail, and it requires manual handling of that unfortunately. It seems that if Logbook in previous versions did it silently, it was only a fortunate coincidence.


Design Review Update - Complete Your User Profile (No Assocations)

closes #308
closes #310
Changes (Updated 03/28/2024)

chore(LEI): The Zod check for LEI is now changed to -- A-Z and 0-9 (20 characters)
feat(Complete User Profile): Added a 'Provide Any Additional Details' section

Changes

style(Fieldgroup): Adhere's to the 770px max-width with box-border (includes borders, margins and padding into the max-width)
style(SectionIntro): Adhere's to the 670px max-width with box-border (includes borders, margins and padding into the max-width), 30px margin-bottom
style(FooterWrapper): Footer has 60px margin-top, removed margin-bottom from FormWrapper
style(FormButtonGroup): 10px between buttons
style(AddFinancialButton): 32.3px ---> 30px margin-bottom
content(Complete User Profile): Updated content to match the Figma, period before the ending quotation mark.

Screenshot

Hi @natalia-fitzgerald! So I told @shindigira to fix everything except the clicking one of these errors and scrolling to the form field, since a solution needs to be worked out between Sigmund and Meissa.

@shindigira will ping us when the rest of the design is fixed, but we'll save fixing the scroll logic for a later PR. 👍

The preview site has been updated with the latest from this PR @natalia-fitzgerald, if you wouldn't mind checking the Complete your user profile (no email associations) again?


Chore/update npm version

Pull Request Test Coverage Report for Build 833

38 of 79 (48.1%)  changed or added relevant lines in 5 files are covered.
51 unchanged lines in 2 files lost coverage.
Overall coverage remained the same at 48.491%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/contracts/implementations/arbitrable/Arbitrable.js
0
3
0.0%

src/contracts/abstractions/MultipleArbitrable.js
0
6
0.0%

src/contracts/implementations/arbitrable/MultipleArbitrableTransaction.js
34
66
51.52%

Files with Coverage Reduction
New Missed Lines
%

src/constants/error.js
3
84.31%

src/utils/StoreProviderWrapper.js
48
17.12%

Totals

Change from base Build 831:
0.0%

Covered Lines:
584

Relevant Lines:
1087

💛  - Coveralls


Bump Framework version to  to 5.25.177

$subject

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/4911750601


Do not merge Testing new PR gate including FIT and CIT

testing PR gate
adding FIT to PR gate

BUILD on-tftp #836 : ABORTED

** BUILD unit-tests  #10715: SUCCESS
** BUILD Smoke-Test-2  #6: ABORTED

BUILD on-tftp #837 : ABORTED

** BUILD unit-tests  #10716: SUCCESS
** BUILD Smoke-Test-2  #7: ABORTED

test this please

test this please

BUILD on-tftp #839 : ABORTED

test this please

test this please

BUILD on-tftp #846 : ABORTED

** BUILD build-config-setup  #6: SUCCESS
** BUILD unit-tests  #10723: SUCCESS
** BUILD Smoke-Test-2  #11: ABORTED

test this please

BUILD on-tftp #848 : ABORTED

** BUILD build-config-setup  #8: SUCCESS
** BUILD unit-tests  #10725: SUCCESS
** BUILD Smoke-Test-2  #13: ABORTED

** BUILD CIT  #50: FAILURE
** BUILD FIT  #35: ABORTED

test this please

test this please

BUILD on-tftp #904 : UNSTABLE

** BUILD unit-tests  #11342: SUCCESS
** BUILD SmokeTest-FIT  #213: UNSTABLE

** BUILD CIT  #763: UNSTABLE
** BUILD FIT  #625: SUCCESS

BUILD CIT  #763  Error Logs  ▼Test Name: test_nodes_discovery
Error Details: timeout waiting for task discovery
-------------------- >> begin captured logging << --------------------
tests.api.v1_1.nodes_tests: INFO: Wait start time: 2017-01-24 12:19:15.260792
amqp: DEBUG: Start from server, version: 0.9, properties: {u'information': u'Licensed under the MPL.  See http://www.rabbitmq.com/', u'product': u'RabbitMQ', u'copyright': u'Copyright (C) 2007-2013 GoPivotal, Inc.', u'capabilities': {u'exchange_exchange_bindings': True, u'connection.blocked': True, u'authentication_failure_close': True, u'basic.nack': True, u'consumer_priorities': True, u'consumer_cancel_notify': True, u'publisher_confirms': True}, u'platform': u'Erlang/OTP', u'version': u'3.2.4'}, mechanisms: [u'AMQPLAIN', u'PLAIN'], locales: [u'en_US']
amqp: DEBUG: Open OK!
kombu: INFO: Starting AMQP worker   -> graph.finished.*>
amqp: DEBUG: Start from server, version: 0.9, properties: {u'information': u'Licensed under the MPL.  See http://www.rabbitmq.com/', u'product': u'RabbitMQ', u'copyright': u'Copyright (C) 2007-2013 GoPivotal, Inc.', u'capabilities': {u'exchange_exchange_bindings': True, u'connection.blocked': True, u'authentication_failure_close': True, u'basic.nack': True, u'consumer_priorities': True, u'consumer_cancel_notify': True, u'publisher_confirms': True}, u'platform': u'Erlang/OTP', u'version': u'3.2.4'}, mechanisms: [u'AMQPLAIN', u'PLAIN'], locales: [u'en_US']
amqp: DEBUG: Open OK!
kombu.mixins: INFO: Connected to amqp://guest:**@<IP_ADDRESS>:9091//
amqp: DEBUG: using channel_id: 1
amqp: DEBUG: Channel open
modules.worker: ERROR: subtask timeout after 1200 seconds, (id=discovery), stopping..
kombu: INFO: Stopping AMQP worker   -> graph.finished.*>
modules.worker: INFO: stopping subtask for discovery
amqp: DEBUG: Closed channel #1
--------------------- >> end captured logging << ---------------------
Stack Trace:   File "/usr/lib/python2.7/unittest/case.py", line 331, in run
    testMethod()
  File "/usr/lib/python2.7/unittest/case.py", line 1043, in runTest
    self._testFunc()
  File "/home/jenkins/workspace/on-tftp/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/proboscis/case.py", line 296, in testng_method_mistake_capture_func
    compatability.capture_type_error(s_func)
  File "/home/jenkins/workspace/on-tftp/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/proboscis/compatability/exceptions_2_6.py", line 27, in capture_type_error
    func()
  File "/home/jenkins/workspace/on-tftp/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/proboscis/case.py", line 350, in func
    func(test_case.state.get_state())
  File "/home/jenkins/workspace/on-tftp/RackHD/test/tests/api/v1_1/nodes_tests.py", line 123, in test_nodes_discovery
    message='timeout waiting for task {0}'.format(self.__task.id))
  File "/home/jenkins/workspace/on-tftp/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/proboscis/asserts.py", line 67, in assert_false
    raise ASSERTION_ERROR(message)
"timeout waiting for task discovery\n-------------------- >> begin captured logging << --------------------\ntests.api.v1_1.nodes_tests: INFO: Wait start time: 2017-01-24 12:19:15.260792\namqp: DEBUG: Start from server, version: 0.9, properties: {u'information': u'Licensed under the MPL.  See http://www.rabbitmq.com/', u'product': u'RabbitMQ', u'copyright': u'Copyright (C) 2007-2013 GoPivotal, Inc.', u'capabilities': {u'exchange_exchange_bindings': True, u'connection.blocked': True, u'authentication_failure_close': True, u'basic.nack': True, u'consumer_priorities': True, u'consumer_cancel_notify': True, u'publisher_confirms': True}, u'platform': u'Erlang/OTP', u'version': u'3.2.4'}, mechanisms: [u'AMQPLAIN', u'PLAIN'], locales: [u'en_US']\namqp: DEBUG: Open OK!\nkombu: INFO: Starting AMQP worker   -> graph.finished.*>\namqp: DEBUG: Start from server, version: 0.9, properties: {u'information': u'Licensed under the MPL.  See http://www.rabbitmq.com/', u'product': u'RabbitMQ', u'copyright': u'Copyright (C) 2007-2013 GoPivotal, Inc.', u'capabilities': {u'exchange_exchange_bindings': True, u'connection.blocked': True, u'authentication_failure_close': True, u'basic.nack': True, u'consumer_priorities': True, u'consumer_cancel_notify': True, u'publisher_confirms': True}, u'platform': u'Erlang/OTP', u'version': u'3.2.4'}, mechanisms: [u'AMQPLAIN', u'PLAIN'], locales: [u'en_US']\namqp: DEBUG: Open OK!\nkombu.mixins: INFO: Connected to amqp://guest:**@<IP_ADDRESS>:9091//\namqp: DEBUG: using channel_id: 1\namqp: DEBUG: Channel open\nmodules.worker: ERROR: subtask timeout after 1200 seconds, (id=discovery), stopping..\nkombu: INFO: Stopping AMQP worker   -> graph.finished.*>\nmodules.worker: INFO: stopping subtask for discovery\namqp: DEBUG: Closed channel #1\n--------------------- >> end captured logging << ---------------------"
Test Name: teardown
Error Details: 'X-Auth-Token'
-------------------- >> begin captured logging << --------------------
modules.redfish_auth: INFO: auth already disabled.
--------------------- >> end captured logging << ---------------------
Stack Trace:   File "/usr/lib/python2.7/unittest/case.py", line 331, in run
testMethod()
File "/usr/lib/python2.7/unittest/case.py", line 1043, in runTest
self._testFunc()
File "/home/jenkins/workspace/on-tftp/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/proboscis/case.py", line 296, in testng_method_mistake_capture_func
compatability.capture_type_error(s_func)
File "/home/jenkins/workspace/on-tftp/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/proboscis/compatability/exceptions_2_6.py", line 27, in capture_type_error
func()
File "/home/jenkins/workspace/on-tftp/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/proboscis/case.py", line 350, in func
func(test_case.state.get_state())
File "/home/jenkins/workspace/on-tftp/RackHD/test/tests/api/redfish_1_0/session_service_tests.py", line 38, in teardown
Auth.disable()
File "/home/jenkins/workspace/on-tftp/RackHD/test/modules/redfish_auth.py", line 67, in disable
del config.api_client.default_headers['X-Auth-Token']
"'X-Auth-Token'\n-------------------- >> begin captured logging << --------------------\nmodules.redfish_auth: INFO: auth already disabled.\n--------------------- >> end captured logging << ---------------------"
Test Name: teardown
Error Details: 'X-Auth-Token'
-------------------- >> begin captured logging << --------------------
modules.redfish_auth: INFO: auth already disabled.
--------------------- >> end captured logging << ---------------------
Stack Trace:   File "/usr/lib/python2.7/unittest/case.py", line 331, in run
testMethod()
File "/usr/lib/python2.7/unittest/case.py", line 1043, in runTest
self._testFunc()
File "/home/jenkins/workspace/on-tftp/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/proboscis/case.py", line 296, in testng_method_mistake_capture_func
compatability.capture_type_error(s_func)
File "/home/jenkins/workspace/on-tftp/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/proboscis/compatability/exceptions_2_6.py", line 27, in capture_type_error
func()
File "/home/jenkins/workspace/on-tftp/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/proboscis/case.py", line 350, in func
func(test_case.state.get_state())
File "/home/jenkins/workspace/on-tftp/RackHD/test/tests/api/redfish_1_0/account_service_tests.py", line 38, in teardown
Auth.disable()
File "/home/jenkins/workspace/on-tftp/RackHD/test/modules/redfish_auth.py", line 67, in disable
del config.api_client.default_headers['X-Auth-Token']
"'X-Auth-Token'\n-------------------- >> begin captured logging << --------------------\nmodules.redfish_auth: INFO: auth already disabled.\n--------------------- >> end captured logging << ---------------------"
Test Name: test_nodes_discovery
Error Details: timeout waiting for task discovery
-------------------- >> begin captured logging << --------------------
tests.api.v2_0.nodes_tests: INFO: Wait start time: 2017-01-24 12:39:32.677858
amqp: DEBUG: Start from server, version: 0.9, properties: {u'information': u'Licensed under the MPL.  See http://www.rabbitmq.com/', u'product': u'RabbitMQ', u'copyright': u'Copyright (C) 2007-2013 GoPivotal, Inc.', u'capabilities': {u'exchange_exchange_bindings': True, u'connection.blocked': True, u'authentication_failure_close': True, u'basic.nack': True, u'consumer_priorities': True, u'consumer_cancel_notify': True, u'publisher_confirms': True}, u'platform': u'Erlang/OTP', u'version': u'3.2.4'}, mechanisms: [u'AMQPLAIN', u'PLAIN'], locales: [u'en_US']
amqp: DEBUG: Open OK!
kombu: INFO: Starting AMQP worker <unbound Queue graph.finished -> <unbound Exchange on.events(topic)> -> graph.finished.>
amqp: DEBUG: Start from server, version: 0.9, properties: {u'information': u'Licensed under the MPL.  See http://www.rabbitmq.com/', u'product': u'RabbitMQ', u'copyright': u'Copyright (C) 2007-2013 GoPivotal, Inc.', u'capabilities': {u'exchange_exchange_bindings': True, u'connection.blocked': True, u'authentication_failure_close': True, u'basic.nack': True, u'consumer_priorities': True, u'consumer_cancel_notify': True, u'publisher_confirms': True}, u'platform': u'Erlang/OTP', u'version': u'3.2.4'}, mechanisms: [u'AMQPLAIN', u'PLAIN'], locales: [u'en_US']
amqp: DEBUG: Open OK!
kombu.mixins: INFO: Connected to amqp://guest:**@<IP_ADDRESS>:9091//
amqp: DEBUG: using channel_id: 1
amqp: DEBUG: Channel open
modules.worker: ERROR: subtask timeout after 1200 seconds, (id=discovery), stopping..
kombu: INFO: Stopping AMQP worker <unbound Queue graph.finished -> <unbound Exchange on.events(topic)> -> graph.finished.>
modules.worker: INFO: stopping subtask for discovery
amqp: DEBUG: Closed channel #1
--------------------- >> end captured logging << ---------------------
Stack Trace:   File "/usr/lib/python2.7/unittest/case.py", line 331, in run
testMethod()
File "/usr/lib/python2.7/unittest/case.py", line 1043, in runTest
self._testFunc()
File "/home/jenkins/workspace/on-tftp/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/proboscis/case.py", line 296, in testng_method_mistake_capture_func
compatability.capture_type_error(s_func)
File "/home/jenkins/workspace/on-tftp/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/proboscis/compatability/exceptions_2_6.py", line 27, in capture_type_error
func()
File "/home/jenkins/workspace/on-tftp/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/proboscis/case.py", line 350, in func
func(test_case.state.get_state())
File "/home/jenkins/workspace/on-tftp/RackHD/test/tests/api/v2_0/nodes_tests.py", line 140, in test_nodes_discovery
message='timeout waiting for task {0}'.format(self.__task.id))
File "/home/jenkins/workspace/on-tftp/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/proboscis/asserts.py", line 67, in assert_false
raise ASSERTION_ERROR(message)
"timeout waiting for task discovery\n-------------------- >> begin captured logging << --------------------\ntests.api.v2_0.nodes_tests: INFO: Wait start time: 2017-01-24 12:39:32.677858\namqp: DEBUG: Start from server, version: 0.9, properties: {u'information': u'Licensed under the MPL.  See http://www.rabbitmq.com/', u'product': u'RabbitMQ', u'copyright': u'Copyright (C) 2007-2013 GoPivotal, Inc.', u'capabilities': {u'exchange_exchange_bindings': True, u'connection.blocked': True, u'authentication_failure_close': True, u'basic.nack': True, u'consumer_priorities': True, u'consumer_cancel_notify': True, u'publisher_confirms': True}, u'platform': u'Erlang/OTP', u'version': u'3.2.4'}, mechanisms: [u'AMQPLAIN', u'PLAIN'], locales: [u'en_US']\namqp: DEBUG: Open OK!\nkombu: INFO: Starting AMQP worker <unbound Queue graph.finished -> <unbound Exchange on.events(topic)> -> graph.finished.>\namqp: DEBUG: Start from server, version: 0.9, properties: {u'information': u'Licensed under the MPL.  See http://www.rabbitmq.com/', u'product': u'RabbitMQ', u'copyright': u'Copyright (C) 2007-2013 GoPivotal, Inc.', u'capabilities': {u'exchange_exchange_bindings': True, u'connection.blocked': True, u'authentication_failure_close': True, u'basic.nack': True, u'consumer_priorities': True, u'consumer_cancel_notify': True, u'publisher_confirms': True}, u'platform': u'Erlang/OTP', u'version': u'3.2.4'}, mechanisms: [u'AMQPLAIN', u'PLAIN'], locales: [u'en_US']\namqp: DEBUG: Open OK!\nkombu.mixins: INFO: Connected to amqp://guest:**@<IP_ADDRESS>:9091//\namqp: DEBUG: using channel_id: 1\namqp: DEBUG: Channel open\nmodules.worker: ERROR: subtask timeout after 1200 seconds, (id=discovery), stopping..\nkombu: INFO: Stopping AMQP worker <unbound Queue graph.finished -> <unbound Exchange on.events(topic)> -> graph.finished.>\nmodules.worker: INFO: stopping subtask for discovery\namqp: DEBUG: Closed channel #1\n--------------------- >> end captured logging << ---------------------"
Test Name: test_catalogs
Error Details: Node list was empty!
Stack Trace: Traceback (most recent call last):
File "/usr/lib/python2.7/unittest/case.py", line 331, in run
testMethod()
File "/usr/lib/python2.7/unittest/case.py", line 1043, in runTest
self._testFunc()
File "/home/jenkins/workspace/on-tftp/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/proboscis/case.py", line 296, in testng_method_mistake_capture_func
compatability.capture_type_error(s_func)
File "/home/jenkins/workspace/on-tftp/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/proboscis/compatability/exceptions_2_6.py", line 27, in capture_type_error
func()
File "/home/jenkins/workspace/on-tftp/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/proboscis/case.py", line 350, in func
func(test_case.state.get_state())
File "/home/jenkins/workspace/on-tftp/RackHD/test/tests/api/v2_0/catalogs_tests.py", line 31, in test_catalogs
assert_not_equal(0, len(nodes), message='Node list was empty!')
File "/home/jenkins/workspace/on-tftp/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/proboscis/asserts.py", line 151, in assert_not_equal
raise ASSERTION_ERROR(message)
AssertionError: Node list was empty!
Test Name: test_tags_del
Error Details: local variable 'updated_tags' referenced before assignment
-------------------- >> begin captured logging << --------------------
tests.api.v2_0.tags_tests: INFO: Deleting tag that was created in Testing POST:/api/2.0/tags/
--------------------- >> end captured logging << ---------------------
Stack Trace:   File "/usr/lib/python2.7/unittest/case.py", line 331, in run
testMethod()
File "/usr/lib/python2.7/unittest/case.py", line 1043, in runTest
self._testFunc()
File "/home/jenkins/workspace/on-tftp/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/proboscis/case.py", line 296, in testng_method_mistake_capture_func
compatability.capture_type_error(s_func)
File "/home/jenkins/workspace/on-tftp/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/proboscis/compatability/exceptions_2_6.py", line 27, in capture_type_error
func()
File "/home/jenkins/workspace/on-tftp/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/proboscis/case.py", line 350, in func
func(test_case.state.get_state())
File "/home/jenkins/workspace/on-tftp/RackHD/test/tests/api/v2_0/tags_tests.py", line 116, in test_tags_del
assert_equal([],updated_tags, message='Tags were not deleted successfully')
"local variable 'updated_tags' referenced before assignment\n-------------------- >> begin captured logging << --------------------\ntests.api.v2_0.tags_tests: INFO: Deleting tag that was created in Testing POST:/api/2.0/tags/ \n--------------------- >> end captured logging << ---------------------"

BUILD SmokeTest-FIT  #213  Error Logs  ▼Test Name: test_nodes_discovery
Error Details: timeout waiting for task discovery
-------------------- >> begin captured logging << --------------------
tests.api.v1_1.nodes_tests: INFO: Wait start time: 2017-01-24 12:19:15.260792
amqp: DEBUG: Start from server, version: 0.9, properties: {u'information': u'Licensed under the MPL.  See http://www.rabbitmq.com/', u'product': u'RabbitMQ', u'copyright': u'Copyright (C) 2007-2013 GoPivotal, Inc.', u'capabilities': {u'exchange_exchange_bindings': True, u'connection.blocked': True, u'authentication_failure_close': True, u'basic.nack': True, u'consumer_priorities': True, u'consumer_cancel_notify': True, u'publisher_confirms': True}, u'platform': u'Erlang/OTP', u'version': u'3.2.4'}, mechanisms: [u'AMQPLAIN', u'PLAIN'], locales: [u'en_US']
amqp: DEBUG: Open OK!
kombu: INFO: Starting AMQP worker   -> graph.finished.*>
amqp: DEBUG: Start from server, version: 0.9, properties: {u'information': u'Licensed under the MPL.  See http://www.rabbitmq.com/', u'product': u'RabbitMQ', u'copyright': u'Copyright (C) 2007-2013 GoPivotal, Inc.', u'capabilities': {u'exchange_exchange_bindings': True, u'connection.blocked': True, u'authentication_failure_close': True, u'basic.nack': True, u'consumer_priorities': True, u'consumer_cancel_notify': True, u'publisher_confirms': True}, u'platform': u'Erlang/OTP', u'version': u'3.2.4'}, mechanisms: [u'AMQPLAIN', u'PLAIN'], locales: [u'en_US']
amqp: DEBUG: Open OK!
kombu.mixins: INFO: Connected to amqp://guest:**@<IP_ADDRESS>:9091//
amqp: DEBUG: using channel_id: 1
amqp: DEBUG: Channel open
modules.worker: ERROR: subtask timeout after 1200 seconds, (id=discovery), stopping..
kombu: INFO: Stopping AMQP worker   -> graph.finished.*>
modules.worker: INFO: stopping subtask for discovery
amqp: DEBUG: Closed channel #1
--------------------- >> end captured logging << ---------------------
Stack Trace:   File "/usr/lib/python2.7/unittest/case.py", line 331, in run
    testMethod()
  File "/usr/lib/python2.7/unittest/case.py", line 1043, in runTest
    self._testFunc()
  File "/home/jenkins/workspace/on-tftp/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/proboscis/case.py", line 296, in testng_method_mistake_capture_func
    compatability.capture_type_error(s_func)
  File "/home/jenkins/workspace/on-tftp/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/proboscis/compatability/exceptions_2_6.py", line 27, in capture_type_error
    func()
  File "/home/jenkins/workspace/on-tftp/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/proboscis/case.py", line 350, in func
    func(test_case.state.get_state())
  File "/home/jenkins/workspace/on-tftp/RackHD/test/tests/api/v1_1/nodes_tests.py", line 123, in test_nodes_discovery
    message='timeout waiting for task {0}'.format(self.__task.id))
  File "/home/jenkins/workspace/on-tftp/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/proboscis/asserts.py", line 67, in assert_false
    raise ASSERTION_ERROR(message)
"timeout waiting for task discovery\n-------------------- >> begin captured logging << --------------------\ntests.api.v1_1.nodes_tests: INFO: Wait start time: 2017-01-24 12:19:15.260792\namqp: DEBUG: Start from server, version: 0.9, properties: {u'information': u'Licensed under the MPL.  See http://www.rabbitmq.com/', u'product': u'RabbitMQ', u'copyright': u'Copyright (C) 2007-2013 GoPivotal, Inc.', u'capabilities': {u'exchange_exchange_bindings': True, u'connection.blocked': True, u'authentication_failure_close': True, u'basic.nack': True, u'consumer_priorities': True, u'consumer_cancel_notify': True, u'publisher_confirms': True}, u'platform': u'Erlang/OTP', u'version': u'3.2.4'}, mechanisms: [u'AMQPLAIN', u'PLAIN'], locales: [u'en_US']\namqp: DEBUG: Open OK!\nkombu: INFO: Starting AMQP worker   -> graph.finished.*>\namqp: DEBUG: Start from server, version: 0.9, properties: {u'information': u'Licensed under the MPL.  See http://www.rabbitmq.com/', u'product': u'RabbitMQ', u'copyright': u'Copyright (C) 2007-2013 GoPivotal, Inc.', u'capabilities': {u'exchange_exchange_bindings': True, u'connection.blocked': True, u'authentication_failure_close': True, u'basic.nack': True, u'consumer_priorities': True, u'consumer_cancel_notify': True, u'publisher_confirms': True}, u'platform': u'Erlang/OTP', u'version': u'3.2.4'}, mechanisms: [u'AMQPLAIN', u'PLAIN'], locales: [u'en_US']\namqp: DEBUG: Open OK!\nkombu.mixins: INFO: Connected to amqp://guest:**@<IP_ADDRESS>:9091//\namqp: DEBUG: using channel_id: 1\namqp: DEBUG: Channel open\nmodules.worker: ERROR: subtask timeout after 1200 seconds, (id=discovery), stopping..\nkombu: INFO: Stopping AMQP worker   -> graph.finished.*>\nmodules.worker: INFO: stopping subtask for discovery\namqp: DEBUG: Closed channel #1\n--------------------- >> end captured logging << ---------------------"
Test Name: teardown
Error Details: 'X-Auth-Token'
-------------------- >> begin captured logging << --------------------
modules.redfish_auth: INFO: auth already disabled.
--------------------- >> end captured logging << ---------------------
Stack Trace:   File "/usr/lib/python2.7/unittest/case.py", line 331, in run
testMethod()
File "/usr/lib/python2.7/unittest/case.py", line 1043, in runTest
self._testFunc()
File "/home/jenkins/workspace/on-tftp/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/proboscis/case.py", line 296, in testng_method_mistake_capture_func
compatability.capture_type_error(s_func)
File "/home/jenkins/workspace/on-tftp/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/proboscis/compatability/exceptions_2_6.py", line 27, in capture_type_error
func()
File "/home/jenkins/workspace/on-tftp/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/proboscis/case.py", line 350, in func
func(test_case.state.get_state())
File "/home/jenkins/workspace/on-tftp/RackHD/test/tests/api/redfish_1_0/session_service_tests.py", line 38, in teardown
Auth.disable()
File "/home/jenkins/workspace/on-tftp/RackHD/test/modules/redfish_auth.py", line 67, in disable
del config.api_client.default_headers['X-Auth-Token']
"'X-Auth-Token'\n-------------------- >> begin captured logging << --------------------\nmodules.redfish_auth: INFO: auth already disabled.\n--------------------- >> end captured logging << ---------------------"
Test Name: teardown
Error Details: 'X-Auth-Token'
-------------------- >> begin captured logging << --------------------
modules.redfish_auth: INFO: auth already disabled.
--------------------- >> end captured logging << ---------------------
Stack Trace:   File "/usr/lib/python2.7/unittest/case.py", line 331, in run
testMethod()
File "/usr/lib/python2.7/unittest/case.py", line 1043, in runTest
self._testFunc()
File "/home/jenkins/workspace/on-tftp/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/proboscis/case.py", line 296, in testng_method_mistake_capture_func
compatability.capture_type_error(s_func)
File "/home/jenkins/workspace/on-tftp/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/proboscis/compatability/exceptions_2_6.py", line 27, in capture_type_error
func()
File "/home/jenkins/workspace/on-tftp/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/proboscis/case.py", line 350, in func
func(test_case.state.get_state())
File "/home/jenkins/workspace/on-tftp/RackHD/test/tests/api/redfish_1_0/account_service_tests.py", line 38, in teardown
Auth.disable()
File "/home/jenkins/workspace/on-tftp/RackHD/test/modules/redfish_auth.py", line 67, in disable
del config.api_client.default_headers['X-Auth-Token']
"'X-Auth-Token'\n-------------------- >> begin captured logging << --------------------\nmodules.redfish_auth: INFO: auth already disabled.\n--------------------- >> end captured logging << ---------------------"
Test Name: test_nodes_discovery
Error Details: timeout waiting for task discovery
-------------------- >> begin captured logging << --------------------
tests.api.v2_0.nodes_tests: INFO: Wait start time: 2017-01-24 12:39:32.677858
amqp: DEBUG: Start from server, version: 0.9, properties: {u'information': u'Licensed under the MPL.  See http://www.rabbitmq.com/', u'product': u'RabbitMQ', u'copyright': u'Copyright (C) 2007-2013 GoPivotal, Inc.', u'capabilities': {u'exchange_exchange_bindings': True, u'connection.blocked': True, u'authentication_failure_close': True, u'basic.nack': True, u'consumer_priorities': True, u'consumer_cancel_notify': True, u'publisher_confirms': True}, u'platform': u'Erlang/OTP', u'version': u'3.2.4'}, mechanisms: [u'AMQPLAIN', u'PLAIN'], locales: [u'en_US']
amqp: DEBUG: Open OK!
kombu: INFO: Starting AMQP worker <unbound Queue graph.finished -> <unbound Exchange on.events(topic)> -> graph.finished.>
amqp: DEBUG: Start from server, version: 0.9, properties: {u'information': u'Licensed under the MPL.  See http://www.rabbitmq.com/', u'product': u'RabbitMQ', u'copyright': u'Copyright (C) 2007-2013 GoPivotal, Inc.', u'capabilities': {u'exchange_exchange_bindings': True, u'connection.blocked': True, u'authentication_failure_close': True, u'basic.nack': True, u'consumer_priorities': True, u'consumer_cancel_notify': True, u'publisher_confirms': True}, u'platform': u'Erlang/OTP', u'version': u'3.2.4'}, mechanisms: [u'AMQPLAIN', u'PLAIN'], locales: [u'en_US']
amqp: DEBUG: Open OK!
kombu.mixins: INFO: Connected to amqp://guest:**@<IP_ADDRESS>:9091//
amqp: DEBUG: using channel_id: 1
amqp: DEBUG: Channel open
modules.worker: ERROR: subtask timeout after 1200 seconds, (id=discovery), stopping..
kombu: INFO: Stopping AMQP worker <unbound Queue graph.finished -> <unbound Exchange on.events(topic)> -> graph.finished.>
modules.worker: INFO: stopping subtask for discovery
amqp: DEBUG: Closed channel #1
--------------------- >> end captured logging << ---------------------
Stack Trace:   File "/usr/lib/python2.7/unittest/case.py", line 331, in run
testMethod()
File "/usr/lib/python2.7/unittest/case.py", line 1043, in runTest
self._testFunc()
File "/home/jenkins/workspace/on-tftp/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/proboscis/case.py", line 296, in testng_method_mistake_capture_func
compatability.capture_type_error(s_func)
File "/home/jenkins/workspace/on-tftp/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/proboscis/compatability/exceptions_2_6.py", line 27, in capture_type_error
func()
File "/home/jenkins/workspace/on-tftp/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/proboscis/case.py", line 350, in func
func(test_case.state.get_state())
File "/home/jenkins/workspace/on-tftp/RackHD/test/tests/api/v2_0/nodes_tests.py", line 140, in test_nodes_discovery
message='timeout waiting for task {0}'.format(self.__task.id))
File "/home/jenkins/workspace/on-tftp/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/proboscis/asserts.py", line 67, in assert_false
raise ASSERTION_ERROR(message)
"timeout waiting for task discovery\n-------------------- >> begin captured logging << --------------------\ntests.api.v2_0.nodes_tests: INFO: Wait start time: 2017-01-24 12:39:32.677858\namqp: DEBUG: Start from server, version: 0.9, properties: {u'information': u'Licensed under the MPL.  See http://www.rabbitmq.com/', u'product': u'RabbitMQ', u'copyright': u'Copyright (C) 2007-2013 GoPivotal, Inc.', u'capabilities': {u'exchange_exchange_bindings': True, u'connection.blocked': True, u'authentication_failure_close': True, u'basic.nack': True, u'consumer_priorities': True, u'consumer_cancel_notify': True, u'publisher_confirms': True}, u'platform': u'Erlang/OTP', u'version': u'3.2.4'}, mechanisms: [u'AMQPLAIN', u'PLAIN'], locales: [u'en_US']\namqp: DEBUG: Open OK!\nkombu: INFO: Starting AMQP worker <unbound Queue graph.finished -> <unbound Exchange on.events(topic)> -> graph.finished.>\namqp: DEBUG: Start from server, version: 0.9, properties: {u'information': u'Licensed under the MPL.  See http://www.rabbitmq.com/', u'product': u'RabbitMQ', u'copyright': u'Copyright (C) 2007-2013 GoPivotal, Inc.', u'capabilities': {u'exchange_exchange_bindings': True, u'connection.blocked': True, u'authentication_failure_close': True, u'basic.nack': True, u'consumer_priorities': True, u'consumer_cancel_notify': True, u'publisher_confirms': True}, u'platform': u'Erlang/OTP', u'version': u'3.2.4'}, mechanisms: [u'AMQPLAIN', u'PLAIN'], locales: [u'en_US']\namqp: DEBUG: Open OK!\nkombu.mixins: INFO: Connected to amqp://guest:**@<IP_ADDRESS>:9091//\namqp: DEBUG: using channel_id: 1\namqp: DEBUG: Channel open\nmodules.worker: ERROR: subtask timeout after 1200 seconds, (id=discovery), stopping..\nkombu: INFO: Stopping AMQP worker <unbound Queue graph.finished -> <unbound Exchange on.events(topic)> -> graph.finished.>\nmodules.worker: INFO: stopping subtask for discovery\namqp: DEBUG: Closed channel #1\n--------------------- >> end captured logging << ---------------------"
Test Name: test_catalogs
Error Details: Node list was empty!
Stack Trace: Traceback (most recent call last):
File "/usr/lib/python2.7/unittest/case.py", line 331, in run
testMethod()
File "/usr/lib/python2.7/unittest/case.py", line 1043, in runTest
self._testFunc()
File "/home/jenkins/workspace/on-tftp/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/proboscis/case.py", line 296, in testng_method_mistake_capture_func
compatability.capture_type_error(s_func)
File "/home/jenkins/workspace/on-tftp/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/proboscis/compatability/exceptions_2_6.py", line 27, in capture_type_error
func()
File "/home/jenkins/workspace/on-tftp/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/proboscis/case.py", line 350, in func
func(test_case.state.get_state())
File "/home/jenkins/workspace/on-tftp/RackHD/test/tests/api/v2_0/catalogs_tests.py", line 31, in test_catalogs
assert_not_equal(0, len(nodes), message='Node list was empty!')
File "/home/jenkins/workspace/on-tftp/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/proboscis/asserts.py", line 151, in assert_not_equal
raise ASSERTION_ERROR(message)
AssertionError: Node list was empty!
Test Name: test_tags_del
Error Details: local variable 'updated_tags' referenced before assignment
-------------------- >> begin captured logging << --------------------
tests.api.v2_0.tags_tests: INFO: Deleting tag that was created in Testing POST:/api/2.0/tags/
--------------------- >> end captured logging << ---------------------
Stack Trace:   File "/usr/lib/python2.7/unittest/case.py", line 331, in run
testMethod()
File "/usr/lib/python2.7/unittest/case.py", line 1043, in runTest
self._testFunc()
File "/home/jenkins/workspace/on-tftp/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/proboscis/case.py", line 296, in testng_method_mistake_capture_func
compatability.capture_type_error(s_func)
File "/home/jenkins/workspace/on-tftp/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/proboscis/compatability/exceptions_2_6.py", line 27, in capture_type_error
func()
File "/home/jenkins/workspace/on-tftp/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/proboscis/case.py", line 350, in func
func(test_case.state.get_state())
File "/home/jenkins/workspace/on-tftp/RackHD/test/tests/api/v2_0/tags_tests.py", line 116, in test_tags_del
assert_equal([],updated_tags, message='Tags were not deleted successfully')
"local variable 'updated_tags' referenced before assignment\n-------------------- >> begin captured logging << --------------------\ntests.api.v2_0.tags_tests: INFO: Deleting tag that was created in Testing POST:/api/2.0/tags/ \n--------------------- >> end captured logging << ---------------------"

test this please

test this please

BUILD on-tftp #915 : ABORTED

test this please

test this please

BUILD on-tftp #917 : ABORTED

** BUILD build-config-setup  #1397: SUCCESS
** BUILD unit-tests  #11471: SUCCESS
** BUILD SmokeTest-FIT  #262: ABORTED

** BUILD CIT  #1143: ABORTED
** BUILD FIT  #1001: ABORTED

BUILD on-tftp #918 : FAILURE

** BUILD build-config-setup  #1398: SUCCESS
** BUILD unit-tests  #11472: SUCCESS
** BUILD SmokeTest-FIT  #263: FAILURE

** BUILD CIT  #1144: FAILURE
** BUILD FIT  #1002: FAILURE

test this please

BUILD on-tftp #919 : FAILURE

** BUILD build-config-setup  #1405: SUCCESS
** BUILD unit-tests  #11476: SUCCESS
** BUILD Install-CentOs-6.5  #1: FAILURE
** BUILD SmokeTest-CIT  #1: FAILURE

test this please

BUILD on-tftp #920 : ABORTED

** BUILD build-config-setup  #1407: SUCCESS
** BUILD unit-tests  #11477: SUCCESS
** BUILD SmokeTest-CIT  #2: ABORTED
** BUILD Install-CentOs-6.5  #2: UNSTABLE

BUILD Install-CentOs-6.5  #2  Error Logs  ▼Test Name: test_install_centos_6_minimal
Error Details: (400)
Reason: Bad Request
HTTP response headers: HTTPHeaderDict({'Content-Length': '113', 'X-Powered-By': 'Express', 'Connection': 'keep-alive', 'ETag': 'W/"71-tv/M7IQMH/DGR6x1gEsipA"', 'Date': 'Mon, 06 Feb 2017 16:04:11 GMT', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset=utf-8'})
HTTP response body: {"message":"Task.Os.Install.CentOS: JSON schema validation failed - data.repo should match pattern \"^http://\""}
-------------------- >> begin captured logging << --------------------
tests.api.v1_1.workflows_tests: INFO: Starting AMQP listener for node 58989e24eff9db0308c4770c
amqp: DEBUG: Start from server, version: 0.9, properties: {u'information': u'Licensed under the MPL.  See http://www.rabbitmq.com/', u'product': u'RabbitMQ', u'copyright': u'Copyright (C) 2007-2013 GoPivotal, Inc.', u'capabilities': {u'exchange_exchange_bindings': True, u'connection.blocked': True, u'authentication_failure_close': True, u'basic.nack': True, u'consumer_priorities': True, u'consumer_cancel_notify': True, u'publisher_confirms': True}, u'platform': u'Erlang/OTP', u'version': u'3.2.4'}, mechanisms: [u'AMQPLAIN', u'PLAIN'], locales: [u'en_US']
amqp: DEBUG: Open OK!
urllib3.connectionpool: WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', BadStatusLine("''",))': /api/1.1/nodes/58989e24eff9db0308c4770c/workflows/active
--------------------- >> end captured logging << ---------------------
Stack Trace:   File "/usr/lib/python2.7/unittest/case.py", line 331, in run
testMethod()
File "/usr/lib/python2.7/unittest/case.py", line 1043, in runTest
self._testFunc()
File "/home/jenkins/workspace/Templates/Install-CentOs-6.5/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/proboscis/case.py", line 296, in testng_method_mistake_capture_func
compatability.capture_type_error(s_func)
File "/home/jenkins/workspace/Templates/Install-CentOs-6.5/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/proboscis/compatability/exceptions_2_6.py", line 27, in capture_type_error
func()
File "/home/jenkins/workspace/Templates/Install-CentOs-6.5/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/proboscis/case.py", line 350, in func
func(test_case.state.get_state())
File "/home/jenkins/workspace/Templates/Install-CentOs-6.5/RackHD/test/tests/api/v1_1/os_install_tests.py", line 397, in test_install_centos_6_minimal
self.install_centos('6.5', payloadFile='install_centos_6_payload_minimal.json')
File "/home/jenkins/workspace/Templates/Install-CentOs-6.5/RackHD/test/tests/api/v1_1/os_install_tests.py", line 135, in install_centos
self.__post_workflow(graph_name, nodes, body)
File "/home/jenkins/workspace/Templates/Install-CentOs-6.5/RackHD/test/tests/api/v1_1/os_install_tests.py", line 57, in __post_workflow
workflows().post_workflows(graph_name, timeout_sec=DEFAULT_TIMEOUT_SEC, nodes=nodes, data=body)
File "/home/jenkins/workspace/Templates/Install-CentOs-6.5/RackHD/test/tests/api/v1_1/workflows_tests.py", line 177, in post_workflows
Nodes().nodes_identifier_workflows_post(node, name=graph_name, body=data)
File "/home/jenkins/workspace/Templates/Install-CentOs-6.5/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/on_http_api1_1/apis/nodes_api.py", line 1427, in nodes_identifier_workflows_post
callback=params.get('callback'))
File "/home/jenkins/workspace/Templates/Install-CentOs-6.5/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/on_http_api1_1/api_client.py", line 322, in call_api
response_type, auth_settings, callback)
File "/home/jenkins/workspace/Templates/Install-CentOs-6.5/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/on_http_api1_1/api_client.py", line 149, in __call_api
post_params=post_params, body=body)
File "/home/jenkins/workspace/Templates/Install-CentOs-6.5/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/on_http_api1_1/api_client.py", line 358, in request
body=body)
File "/home/jenkins/workspace/Templates/Install-CentOs-6.5/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/on_http_api1_1/rest.py", line 208, in POST
body=body)
File "/home/jenkins/workspace/Templates/Install-CentOs-6.5/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/on_http_api1_1/rest.py", line 177, in request
raise ApiException(http_resp=r)
'(400)\nReason: Bad Request\nHTTP response headers: HTTPHeaderDict({'Content-Length': '113', 'X-Powered-By': 'Express', 'Connection': 'keep-alive', 'ETag': 'W/"71-tv/M7IQMH/DGR6x1gEsipA"', 'Date': 'Mon, 06 Feb 2017 16:04:11 GMT', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset=utf-8'})\nHTTP response body: {"message":"Task.Os.Install.CentOS: JSON schema validation failed - data.repo should match pattern \"^http://\""}\n\n-------------------- >> begin captured logging << --------------------\ntests.api.v1_1.workflows_tests: INFO: Starting AMQP listener for node 58989e24eff9db0308c4770c\namqp: DEBUG: Start from server, version: 0.9, properties: {u'information': u'Licensed under the MPL.  See http://www.rabbitmq.com/', u'product': u'RabbitMQ', u'copyright': u'Copyright (C) 2007-2013 GoPivotal, Inc.', u'capabilities': {u'exchange_exchange_bindings': True, u'connection.blocked': True, u'authentication_failure_close': True, u'basic.nack': True, u'consumer_priorities': True, u'consumer_cancel_notify': True, u'publisher_confirms': True}, u'platform': u'Erlang/OTP', u'version': u'3.2.4'}, mechanisms: [u'AMQPLAIN', u'PLAIN'], locales: [u'en_US']\namqp: DEBUG: Open OK!\nurllib3.connectionpool: WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', BadStatusLine("''",))': /api/1.1/nodes/58989e24eff9db0308c4770c/workflows/active\n--------------------- >> end captured logging << ---------------------'

test this please

test this please

BUILD on-tftp #923 : FAILURE

** BUILD build-config-setup  #1416: SUCCESS
** BUILD unit-tests  #11483: SUCCESS
** BUILD Install-CentOs-6.5  #2: ABORTED
** BUILD SmokeTest-CIT  #2: FAILURE
** BUILD SmokeTest-FIT  #3: ABORTED

test this please

BUILD on-tftp #924 : FAILURE

** BUILD build-config-setup  #1417: SUCCESS
** BUILD unit-tests  #11484: SUCCESS
** BUILD Install-CentOs-6.5  #3: FAILURE
** BUILD SmokeTest-FIT  #4: FAILURE
** BUILD SmokeTest-CIT  #3: FAILURE

test this please

BUILD on-tftp #925 : FAILURE

** BUILD build-config-setup  #1418: SUCCESS
** BUILD unit-tests  #11485: SUCCESS
** BUILD SmokeTest-FIT  #5: FAILURE
** BUILD SmokeTest-CIT  #213: FAILURE
** BUILD Install-CentOs-6.5  #4: ABORTED

test this please

BUILD on-tftp #926 : FAILURE

** BUILD build-config-setup  #1419: SUCCESS
** BUILD unit-tests  #11486: SUCCESS
** BUILD SmokeTest-FIT  #7: FAILURE
** BUILD Install-CentOs-6.5  #6: FAILURE
** BUILD SmokeTest-CIT  #215: FAILURE

test this please

BUILD on-tftp #927 : FAILURE

** BUILD build-config-setup  #1420: SUCCESS
** BUILD unit-tests  #11487: SUCCESS
** BUILD Install-CentOs-6.5  #7: FAILURE
** BUILD SmokeTest-CIT  #216: FAILURE
** BUILD SmokeTest-FIT  #8: ABORTED

test this please

test this please

test this please

BUILD on-tftp #929 : ABORTED

** BUILD build-config-setup  #1423: SUCCESS
** BUILD unit-tests  #11490: SUCCESS
** BUILD SmokeTest-FIT  #18: SUCCESS
** BUILD Install-CentOs-6.5  #17: SUCCESS
** BUILD SmokeTest-CIT  #226: ABORTED

BUILD on-tftp #932 : UNSTABLE

** BUILD build-config-setup  #1441: SUCCESS
** BUILD unit-tests  #11506: SUCCESS
** BUILD SmokeTest-FIT  #39: SUCCESS
** BUILD Install-CentOs-6.5  #36: SUCCESS
** BUILD Install-Ubuntu-14-04  #14: SUCCESS
** BUILD SmokeTest-CIT  #245: UNSTABLE

BUILD SmokeTest-CIT  #245  Error Logs  ▼Test Name: test_workflows_action
Error Details: (400)
Reason: Bad Request
HTTP response headers: HTTPHeaderDict({'Content-Length': '147', 'X-Powered-By': 'Express', 'Connection': 'keep-alive', 'ETag': 'W/"93-M+qzkVsxAWKUtGliVoVOZA"', 'Date': 'Tue, 07 Feb 2017 07:03:54 GMT', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset=utf-8'})
HTTP response body: {"message":"Request Timed Out (on.task-graph-runner:methods.cancelTaskGraph:Object).","status":"400","UUID":"5692a6ad-7db0-4ce4-8448-3e82f4737b26"}
-------------------- >> begin captured logging << --------------------
tests.api.v2_0.nodes_tests: WARNING: Workflow status for Node 58996fe89854d210088defd0 (status=not running,timeout=20)
--------------------- >> end captured logging << ---------------------
Stack Trace:   File "/usr/lib/python2.7/unittest/case.py", line 331, in run
testMethod()
File "/usr/lib/python2.7/unittest/case.py", line 1043, in runTest
self._testFunc()
File "/home/jenkins/workspace/Templates/SmokeTest-CIT/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/proboscis/case.py", line 296, in testng_method_mistake_capture_func
compatability.capture_type_error(s_func)
File "/home/jenkins/workspace/Templates/SmokeTest-CIT/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/proboscis/compatability/exceptions_2_6.py", line 27, in capture_type_error
func()
File "/home/jenkins/workspace/Templates/SmokeTest-CIT/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/proboscis/case.py", line 350, in func
func(test_case.state.get_state())
File "/home/jenkins/workspace/Templates/SmokeTest-CIT/RackHD/test/tests/api/v2_0/nodes_tests.py", line 339, in test_workflows_action
raise e
'(400)\nReason: Bad Request\nHTTP response headers: HTTPHeaderDict({'Content-Length': '147', 'X-Powered-By': 'Express', 'Connection': 'keep-alive', 'ETag': 'W/"93-M+qzkVsxAWKUtGliVoVOZA"', 'Date': 'Tue, 07 Feb 2017 07:03:54 GMT', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset=utf-8'})\nHTTP response body: {"message":"Request Timed Out (on.task-graph-runner:methods.cancelTaskGraph:Object).","status":"400","UUID":"5692a6ad-7db0-4ce4-8448-3e82f4737b26"}\n\n-------------------- >> begin captured logging << --------------------\ntests.api.v2_0.nodes_tests: WARNING: Workflow status for Node 58996fe89854d210088defd0 (status=not running,timeout=20)\n--------------------- >> end captured logging << ---------------------'

BUILD on-tftp #1004 : ABORTED

** BUILD build-config-setup  #2364: SUCCESS
** BUILD unit-tests  #12330: SUCCESS
** BUILD Install-ESXI-6.0  #535: ABORTED
** BUILD SmokeTest-CIT  #1306: ABORTED
** BUILD Install-Ubuntu-14-04  #1075: ABORTED
** BUILD Install-CentOs-6.5  #1097: SUCCESS
** BUILD SmokeTest-FIT  #1112: ABORTED

BUILD on-tftp #1005 : ABORTED

** BUILD build-config-setup  #2365: SUCCESS
** BUILD unit-tests  #12331: SUCCESS
** BUILD Install-Ubuntu-14-04  #1076: ABORTED
** BUILD Install-ESXI-6.0  #536: ABORTED
** BUILD Install-CentOs-6.5  #1098: ABORTED
** BUILD SmokeTest-CIT  #1307: ABORTED
** BUILD SmokeTest-FIT  #1113: ABORTED

BUILD on-tftp #1006 : ABORTED

** BUILD build-config-setup  #2366: SUCCESS
** BUILD unit-tests  #12332: SUCCESS
** BUILD Install-Ubuntu-14-04  #1077: ABORTED
** BUILD Install-CentOs-6.5  #1099: ABORTED
** BUILD Install-ESXI-6.0  #537: ABORTED
** BUILD SmokeTest-CIT  #1308: ABORTED
** BUILD SmokeTest-FIT  #1114: ABORTED

BUILD on-tftp #1007 : ABORTED

** BUILD build-config-setup  #2367: SUCCESS
** BUILD unit-tests  #12333: ABORTED


Mispelled Category and missing Angular.js file

Mispelled Category on embed Clientlib
On /apps/acs-commons/components/utilities/quickly/clientlibs/.content.xml, it is specified the following category as embedded: acs-commons.json2. However, this category seems to be mispelled. The correct category seems to be acs-commons.json.
Missing Angular.js file
On /etc/clientlibs/acs-commons/vendor/angularjs/v1.2/all/js.txt, the angular-messages.min.js is referenced. However, this file is not present under the etc/clientlibs/acs-commons/vendor/angularjs/v1.2 folder.

@mpongelupe thanks for reporting!

Hi @davidjgonzalez ,
thanks for your reply!
Is the problem with the angular-messages.min.js missing file being fixed as well?

@mpongelupe thanks! missed that .. Fixed via: 7d0a766b6f6faa6a46a892194379119edbeba9a4
Would nice to upgrade to v1.6 .. spent a little time doing it, but requires a number of updates across the Commons utils ...


[lightbeam] Can't pass different params to different elements of br_table yet

thread 'main' panicked at 'Can't pass different params to different elements of `br_table` yet', lightbeam/src/function_body.rs:508:29
stack backtrace:
   0: <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt
   1: core::fmt::write
   2: std::io::Write::write_fmt
   3: std::panicking::default_hook::{{closure}}
   4: std::panicking::default_hook
   5: std::panicking::rust_panic_with_hook
   6: std::panicking::begin_panic
   7: lightbeam::backend::Context<M>::br_table
   8: lightbeam::function_body::translate
   9: <wasmtime_environ::lightbeam::Lightbeam as wasmtime_environ::compilation::Compiler>::compile_module
  10: wasmtime_jit::compiler::Compiler::compile
  11: wasmtime_jit::instantiate::RawCompiledModule::new
  12: wasmtime_jit::instantiate::instantiate
  13: wasmtime_api::instance::Instance::new
  14: wasmtime::instantiate_module
  15: wasmtime::rmain
  16: wasmtime::main
  17: std::rt::lang_start::{{closure}}
  18: std::panicking::try::do_call
  19: __rust_maybe_catch_panic
  20: std::rt::lang_start_internal
  21: main
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

While trying to run rustc compiled to wasm.

Lightbeam was removed in https://github.com/bytecodealliance/wasmtime/pull/3390 as explained in RFC 14, so I'm going to close this.


AWS was not able to validate the provided access credentials

i have configured my machine with latest aws credentials to use AWS CLI . But i get this error on my mac terminal when i run aws commands to create VPN. Do you know why this is happening and what i should do to fix this?

pls share ur terminal sreenshot. let me knoe what exact issue u have.

please share logs

Please respond muppidianuraag


Support for onnx export

Script to test export + inference:
from trolo.export import ModelExporter
import numpy as np
import onnxruntime as ort
import supervision as sv
from PIL import Image

from trolo.utils.box_ops import letterbox_adjust_boxes

def process_image(sess, im_pil):
    # Resize image while preserving aspect ratio
    orig_size = [im_pil.size[0], im_pil.size[1]]
    letterbox_resolution = (640, 640)
    resized_im_pil = sv.letterbox_image(im_pil, letterbox_resolution)
    resized_im_pil = resized_im_pil.convert("RGB")
    im_data = np.asarray(resized_im_pil).astype(np.float32) / 255.0
    im_data = np.expand_dims(im_data, axis=0)
    im_data = np.transpose(im_data, (0, 3, 1, 2))

    input_feed={"images": im_data, "orig_target_sizes": np.array(orig_size)}
    input_feed = {"images": im_data}

    output = sess.run(
        output_names=['labels', 'boxes', 'scores'], input_feed=input_feed
    )
    labels, boxes, scores = output

    boxes = letterbox_adjust_boxes(boxes, [letterbox_resolution], [orig_size])
    labels = labels.squeeze()
    boxes = boxes.squeeze()
    scores = scores.squeeze()

    detections = sv.Detections(xyxy=boxes, confidence=scores, class_id=labels)
    detections = detections[detections.confidence > 0.5]
    box_an = sv.BoxAnnotator()
    im_pil = box_an.annotate(im_pil, detections)
    labels = [f"{int(class_id)}: {conf}" for class_id, conf in zip(detections.class_id, detections.confidence)]
    label_an = sv.LabelAnnotator()
    im_pil = label_an.annotate(im_pil, detections, labels)
    im_pil.show()

def main(model_path, input_path):
    """Main function."""
    # Load the ONNX model
    print("---------------------------------------------")
    sess = ort.InferenceSession(model_path)
    print(f"Using device: {ort.get_device()}")
    print("Input names:")
    for inp in sess.get_inputs():
        print(f"Name: {inp.name}, Shape: {inp.shape}, Type: {inp.type}")

    print("Output names:")
    for inp in sess.get_outputs():
        print(f"Name: {inp.name}, Shape: {inp.shape}, Type: {inp.type}")
    print("---------------------------------------------")
    # Try to open the input as an image
    im_pil = Image.open(input_path).convert("RGB")
    process_image(sess, im_pil)

if __name__ == "__main__":
    exporter = ModelExporter(model="dfine-n")
    exporter.export(input_size=(640, 640))
    main("dfine-n.onnx", "bus.jpg")

@AyushExel I have updated the export module, will update the cli script accordingly. Also will add the example of the inference.

There is one inference script I'm looking upon geting above result, seem like post processing issue. Will fix and share the update script

@senhorinfinito Can you provide converted onnx model and sample inference script? I will try to debug the issue.

onnx-file.zip
Can you review my implementation as well. ?

@senhorinfinito I pushed fixes for dependencies.

@hardikdava , Please check once again. I have updated all the changes  you have mentioned me  in PR.
Still output is not accurate after the conversion.

@senhorinfinito I was able to get correct output. I will send you inference script. But post process is not included in the onnx model. So I had to rewrite post process. It would be good if you can include post process in the model itself.

infer.zip

@senhorinfinito Let me tomorrow if you still not able to fix the model export + inference part. I will handle it tomorrow or in next week.

I'll try tomorrow.  If not possible will mention you.

Hi @hardikdava
I have tried adding post processing into model itself. Here is model output.

I have tested with your script - There are no detection.

Sorry guys I was away for a couple days.. What's the update here? Is there a post-processing issue in the trolo detection codebase or its just related to onnx models?

@senhorinfinito My provided inference script works when onnx model does not have post processing. But your recent changes might have affected in exported model.

I'm using a different script
Which is present in your Canceled PR

@senhorinfinito let's be on same page here first. Forget about my cancelled PR. I have provided working script for onnx model without post process, see above. Currently your latest changes have added post process in onnx model. We have to create a new script inference script.

@AyushExel the main issue is that onnx model without post process works but post process is outside model now which I don't like. The onnx model with post process yields no results at all i.e. all detections are very low confidence which are pruned afterwards.

@AyushExel
Can we have implementation of onnx model without post processing in inside model or should be part of model. ?
Currently, For without post processing model, @hardikdava  has shared a updated script , which works fine.
Later I have tried add the post processing into model itself. It is not  giving any detection.

@senhorinfinito @AyushExel I was able solve the issue. Onnx model export + inference working now. @AyushExel Please check the code structure and api formats.

Ok, let's add this to README/Docs later on.. Thanks for the contribution

Thanks @hardikdava @AyushExel

@AyushExel @senhorinfinito Model export cli and onnx inference script added.


Version bump?

Can you bump the version so we can use the changes from #64 on our projects?

bower or nuget?

Bower, please!

done, enjoy :)

Thank you!


Gender Classification

Description
(Write your answer here.)
added Gender Classification Project
Checklist

[x] I've read the contribution guidelines.
[x] I've checked the issue list before deciding what to submit.
[x] I've edited the README.md and link to my code.

(Add x in the [] to mark as completed.)
Related Issues or Pull Requests
(Link the Issue Number over here.)
https://github.com/The-Data-Alchemists-Manipal/MindWave/issues/537

Completed Changes requested Please verify.


Can you please share the coco pretrained model?

Hi TRI team,
Thanks for sharing this exellent work! I have lately been running this code and want to run some experiments from the scratch. Could you please share your DD3D model pretrained ONLY on the COCO dataset (without depth pretraining)?
And also, just want to be clear, the model you have provided are pretrained on COCO AND DDAD15M, right?
Thank you and I am looking forward to your reply!
Regards,
Johan

Hi Dennis,
Thank you for your reply! That's very helpful.
Could you also please provide the DLA34 version?
Regards,
Johan


images directory is not being created during training

this results in an error:
File "/content/Stable-textual-inversion_win/main.py", line 371, in log_local
    base_counter = len(os.listdir(root))
FileNotFoundError: [Errno 2] No such file or directory: 'logs/grifters2022-08-24T23-07-37_grifters/images/train'

this results in an error:
File "/content/Stable-textual-inversion_win/main.py", line 371, in log_local
    base_counter = len(os.listdir(root))
FileNotFoundError: [Errno 2] No such file or directory: 'logs/grifters2022-08-24T23-07-37_grifters/images/train'

i'm sorry that was a misupload, please redownload the main.py file and it will work haha

ARGRGRGRGH! I just killed a run and it didn't save my checkpoint!! hours of training just gone and the results were looking pretty good. i'm super bummed.

ARGRGRGRGH! I just killed a run and it didn't save my checkpoint!! hours of training just gone and the results were looking pretty good. i'm super bummed.

huh, are you sure?

i think i hit stop too many times. the first press seems to kill the process and start the saving process.

ARGRGRGRGH! I just killed a run and it didn't save my checkpoint!! hours of training just gone and the results were looking pretty good. i'm super bummed.

the model will save every 500 steps now :)


A3C Example for reproducing paper results.

Scores:
Comparison against original reported results...

Game
ChainerRL Score
Original Reported Scores

AirRaid
4625.9
N/A

Alien
1397.2
2027

Amidar
1110.8
904

Assault
5821.6
2879

Asterix
6820.7
6822

Asteroids
2428.8
2544

Atlantis
732425.0
422700

BankHeist
1308.9
1296

BattleZone
5421.1
16411

BeamRider
8493.4
9214

Berzerk
1594.2
1022

Bowling
31.7
37

Boxing
98.1
91

Breakout
533.6
496

Carnival
5132.9
N/A

Centipede
4849.9
5350

ChopperCommand
4881.0
5285

CrazyClimber
124400.0
134783

Defender
N/A
52917.0

DemonAttack
108832.5
37085

DoubleDunk
1.5
3

Enduro
0.0
0

FishingDerby
36.3
-7

Freeway
0.0
0

Frostbite
313.6
288

Gopher
8746.5
7992

Gravitar
228.0
379

Hero
36892.5
30791

IceHockey
-4.6
-2

JamesBond
N/A
509.0

Jamesbond
370.1
N/A

JourneyEscape
-871.2
N/A

Kangaroo
115.8
1166

Krull
10601.4
9422

KungFuMaster
40970.4
37422

MontezumaRevenge
1.9
14

MsPacman
2498.0
2436

NameThisGame
6597.0
7168

Phoenix
42654.5
9476

Pitfall
-10.8
N/A

Pitfall!
N/A
0.0

Pong
20.9
7

Pooyan
4067.9
N/A

PrivateEye
376.1
3781

Qbert
15610.6
18586

Riverraid
13223.3
N/A

RoadRunner
39897.8
45315

Robotank
2.9
6

Seaquest
1786.5
1744

Skiing
-16090.5
-12972

Solaris
3157.8
12380

SpaceInvaders
1630.6
1034

StarGunner
57943.2
49156

Surround
N/A
-8.0

Tennis
-0.3
-6

TimePilot
3850.6
10294

Tutankham
331.4
213

UpNDown
17952.0
89067

Venture
0.0
0

VideoPinball
407331.2
229402

WizardOfWor
2800.0
8953

YarsRevenge
25175.5
21596

Zaxxon
80.7
16544

Results Summary

Number of seeds
1

Number of common domains
52

Number of domains where paper scores higher
25

Number of domains where ChainerRL scores higher
24

Number of ties between paper and ChainerRL
3

Other comments/questions:

I'm unclear on the original A3C papers exploration strategy
We used 16 processes (as per the A3C paper), and no GPUs. However, we ran on 17 CPUs.
I'm assuming that the noisy networks paper held other details as per the original A3C paper (hence why I'm citing both noisy nets and A3C as a source)
The noisy networks paper uses an intermediate evaluation, not the final network evaluation. Since the noisy nets paper has the results we're comparing against, I use that evaluation protocol.
However, the evaluation protocol isn't 100% clear in the noisy nets paper: "Per-game
maximum scores are computed by taking the maximum raw scores of the agent and then averaging
over three seeds. However, for computing the human normalised scores in Figure 2, the raw scores
are evaluated every 1M frames and averaged over three seeds." Given that they imply that there's something different between the first and second sentence, I'm confused. Because it seems to me that in both evaluations, they evaluate every 1M frames and take the maximum performance.

I'm unclear on the original A3C papers exploration strategy

A3C is on-policy, so I don't think they used any specific exploration strategy besides sampling from a current policy.

We used 16 processes (as per the A3C paper), and no GPUs. However, we ran on 17 CPUs.

Can you write so in README as well?

exploration

Quote from the paper: "The value based methods sampled the exploration rate epsilon from a distribution taking three values epsilon 1, epsilon 2, epsilon 3 with probabilities 0.4, 0.3, 0.3. The values of epsilon 1, epsilon 2, epsilon 3 were annealed from 1 to 0.1, 0.01, 0.5 respectively over the first four million frames. Advantage actor-critic used entropy regularization with a weight β = 0.01 for all Atari and TORCS experiments". It seems you're right. The value-based baselines used the epsilon greedy exploration.

Confirmed CI failure is caused by #463


Fixing an issue in count-viral-taxa.R that leads to a loss of HV reads when going from hv_hits_putative_collapsed.tsv to hv_clade_counts.tsv

When reading in hv_hits_putative_collapsed.tsv count-viral-taxa.R  tries to coerce the column taxid to become integer type.
read_db <- read_tsv(read_db_path, show_col_types = FALSE) %>% mutate(taxid = as.integer(taxid))

This gives a warning:
Warning message:
There was 1 warning in `mutate()`.
ℹ In argument: `taxid = as.integer(taxid)`.
Caused by warning:
! NAs introduced by coercion

Rows in hv_hits_putative_collapsed.tsv  where this warning is triggered look like the following. The important bit is the value for taxid, which contains a “/” character: 166124/627439.
seq_id	sample	genome_id	taxid_best	taxid	best_alignment_score_fwd	best_alignment_score_rev	query_len_fwd	query_seq_fwd	query_len_rev	query_seq_rev	classified	assigned_name	assigned_taxid_best	assigned_taxid	assigned_hv	hit_hv	encoded_hits	adj_score_fwd	adj_score_rev	adj_score_max
SRR14530735.2040293	SRR14530735	FJ415324.1/FJ938067.1	166124	166124/627439	236	255	132	AGACAGTTTTAGGTGAATATGTTTTTGATAAGAGTGAGTTGACTAATGGTGTGTATTATCGCGCCAAAACCACTTACAATATATCTGTAGGAGATGTTTTTGTTTTAACATCTCATTCAGTAGCTAATTTAA	137	TGGTAAGACAGTTTTAGGTGAATATGTTTTTGATAAGAGTGATTTGACTAATGGTGTGTATTATCGCGCCACAACCACTTACAAGCTATCTGTAGGAGATGTTTTTGTTTTAACCTCTCATTCAGTAGCTAATTTAA	0	unclassified	0	0	0	0	0:3 A:34 0:4 2509481:1 0:4 A:52	48.33290470136319	51.8294692284968	51.8294692284968

The variable that should likely be used is taxid_best, which gets created in collapseHV:
taxid_best = taxid[1], taxid = collapse(as.character(taxid)),

Ultimately, the inadvertent creation of NAs in the read_db dataframe gets propagated to the creation of direct_hits_setup in count-viral-taxa.R. Once direct_hits_setup is left-joined with taxids, the NA counts get lost (because there is no NA taxid in taxids).
    direct_hits_setup <- read_db %>% group_by(taxid, .data[[group_var]]) %>%
        count(name="n_reads_direct", .drop=FALSE) %>%
        pivot_wider(names_from=any_of(group_var), values_from=n_reads_direct,
                    values_fill = 0)
    sum_direct_hits_setup <- sum(direct_hits_setup[[2]], na.rm = TRUE)
    print(paste("Sum of direct_hits_setup counts:", sum_direct_hits_setup))
    direct_hits <- taxids %>%
        left_join(direct_hits_setup, by = "taxid") %>%
        pivot_longer(
            cols = -(taxid:n_children), names_to = group_var,
            values_to = "n_reads_direct"
        ) %>%
        mutate(n_reads_direct = replace_na(n_reads_direct, 0))
    sum_direct_hits <- sum(direct_hits$n_reads_direct, na.rm = TRUE)
    print(paste("Sum of direct_hits counts:", sum_direct_hits))

This leads to the following output (a loss of 25 reads for this sample)
[1] "Sum of direct_hits_setup counts: 3487"
[1] "Sum of direct_hits counts: 3462"

Hmm, not sure it's a good idea to just overwrite taxid with taxid_best. I'd prefer if you updated the script to use taxid_best throughout.

Done. Also, I deleted one line of code, the output of which wasn't used anywhere in the script:
    direct_hits_joined <- taxids %>% left_join(direct_hits_setup, by="taxid")

@willbradshaw Flagging that this never ended up being finally reviewed.

Yeah, weirdly I don't get emails about these pull requests (I clearly need to fix that) so this fell off my radar.
I've now already integrated this fix myself in a different branch, so I'm going to close this.


Pass all env vars to final command in NeMo launcher test template

Summary
Pass all environment variables to the final command in the NeMo launcher test template. The NeMo launcher template was written with too many specifics for a particular server. As a result, it assumed several mandatory environment variables that are not essential for all servers. Moreover, this prevented users from passing environment variables to the final command. This PR fixes the bug.

Acknowledgment: Issue reported by Zsolt and @jeffnvidia.

Test Plan

Updated unit tests, and CI passes
Ran on a server

$ python ./cloudaix.py --mode run --system-config ... --test-templates-dir conf/v0.6/general/test_template --tests-dir conf/v0.6/general/test --test-scenario conf/v0.6/general/test_scenario/gpt/gpt.toml
...

stdout
Epoch 0: :  16%|█▌        | 64/400 [02:12<11:36, v_num=, reduced_train_loss=6.980, global_step=63.00, consumed_samples=8192.0, train_step_timing in sEpoch 0: :  16%|█▋        | 65/400 [02:14<11:32, v_num=, reduced_train_loss=6.980, global_step=63.00, consumed_samples=8192.0, train_step_timing in sEpoch 0: :  16%|█▋        | 65/400 [02:14<11:32, v_num=, reduced_train_loss=6.930, global_step=64.00, consumed_samples=8320.0, train_step_timing in s

Isn't it the same as #136?

@amaslenn  You can see the changes in this PR at https://github.com/NVIDIA/cloudai/pull/136 because it is based on this PR.

@amaslenn , all resolved.


Can't mount volume from an Asus Router

Hi,
Thank you for all your file system extensions! Eventually I usually get them to work but I can't get around this one...
I'm trying to mount a share from my Router (Asus RT-AC66U running ASUSWRT-Merlin 378.52_2) and it fails...
This is the output from the console on my Chromebook (stable-channel peach_pi):
Object {type: "getSharedResources", serverName: "<IP_ADDRESS>", serverPort: "445", username: "Mattias", password: "secret"}
This is the system log entry on the Router:
Jun  2 19:00:42 smbd[32594]: [2015/06/02 19:00:42.480506,  0] smbd/sesssetup.c:1355(reply_sesssetup_and_X)
Jun  2 19:00:42 smbd[32594]:   reply_sesssetup_and_X:  Rejecting attempt at SPNEGO session setup when it was not negotiated.
I have tried both with and without requiring login in the router.
I googled the error and found this, I don't know if it helps...
http://www.snbforums.com/threads/weird-messages-on-rt-ac66u.23892/

@mattsjo Did you try to mount your ROUTER???

Yes.
It's possible to connect USB drives to the router and a samba server makes
it act just like a NAS.
As indicated by the router log entry, the samba server gets the request but
authentication can't be done.
/Mattias
Den 4 jun 2015 2:27 fm skrev "Yoichiro Tanaka"<EMAIL_ADDRESS>
@mattsjo https://github.com/mattsjo Did you try to mount your ROUTER???
—
Reply to this email directly or view it on GitHub
https://github.com/yoichiro/chromeos-filesystem-cifs/issues/14#issuecomment-108656977
.

@mattsjo I have released a new version 1.1.4. In the version, the app supports LMv1 and NTLMv1 authentication. Probably, I guess that your router does not support LMv2 and NTLMv2. If my idea is correct, you should success to mount your router. Could you confirm whether you can mount your router with 1.1.4?

Now on version 1.1.8 and the error message is "Extended security not supported". Any chance of supporting normal security? :-)

Sorry, pressed the wrong button...

@mattsjo The current version doesn't support the unextended security server. Please see #48. I close this issue. Thank you for the reporting.

Just to let everyone know... It now works! (tested on release 1.4.0)
You have to have guest mode enabled (no password required) otherwise this error is displayed:
2147483653 UNKNOWN
There is no error in the router log.
Thanks!


Entity PokemonSpecies and PokemonSpeciesDAO

fixes #20

And please remember to create PR on branch master not dev.

You created new pull request #22, with the same changes so I am closing this one.


[#4293] improvement(catalogs): add deleted flag and Error Log

What changes were proposed in this pull request?
Support Error Log &Flag At removeFile
Why are the changes needed?
Checking and logging the operation of the program
Fix: https://github.com/apache/gravitino/issues/4293
How was this patch tested?
N/A

To. Reviewer
Please note that the pre-PR content exclusion change code has been changed to conform to Spotless's rules.


Get error 403 and URL upload not work

Hello
I'm trying to use CollectionFS for upload file from local computer and from URL and get 2 errors.
First, when I upload file from computer I get a error in console:
Access denied [403]base-common.js:100
defaultCallbackfsFile-common.js:279 (anonymous function)
collection.js:528
wrappedCallbackdynamics_browser.js:51 (anonymous function)
livedata_connection.js:388
_.extend._maybeInvokeCallbacklivedata_connection.js:408 _.extend.receiveResultlivedata_connection.js:1455 _.extend._livedata_resultlivedata_connection.js:253
onMessagestream_client_sockjs.js:172 (anonymous function)
underscore.js:105
_.each._.forEachstream_client_sockjs.js:171
self.socket.onmessagesockjs-0.3.4.js:87
REventTarget.dispatchEventsockjs-0.3.4.js:1072
SockJS._dispatchMessagesockjs-0.3.4.js:1130
SockJS._didMessagesockjs-0.3.4.js:1277
that.ws.onmessage

But file uploaded successfully.
Second trouble with upload from URL:
fsFile-common.js:75   Uncaught Error: FS.File.attachData requires a callback when attaching a URL on the client
Posters.insert("http://s00.yaplakal.com/pics/pics_preview/8/0/4/4578408.jpg", function(error, fileobj){console.log(error, fileobj)})

My code:
Posters = new FS.Collection("posters", {
    stores: [
        new FS.Store.FileSystem("posters_orig", {
            path: "~/folder/posters_orig"
        }),
        new FS.Store.FileSystem("posters", {
            path: "~/folder/posters",
            beforeWrite: function(fileObj){
                return {
                    extension: 'png',
                    type: 'image/png'
                };
            },
            transformWrite: function(fileObj, readStream, writeStream) {
                gm(readStream).resize(100).stream('PNG').pipe(writeStream);
            }
        })
    ],

    filter: {
        allow: {
            contentTypes: ['image/*']
        }
    }
});

if (Meteor.isServer){
    Posters.allow({
        insert: function() {
            return true;
        },
        update: function() {
            return false;
        },
        remove: function() {
            return false;
        },
        download: function() {
            return true;
        }
    });
}

Client view:
Posters.insert(file, function(err, fileObj){
                if (!err){
                    group.poster = fileObj._id;
                }
            });

My software installed:
cfs:ejson-file           0.1.4  CollectionFS, FS.File as EJSON type
cfs:filesystem           0.1.1  Filesystem storage adapter for CollectionFS
cfs:graphicsmagick       0.0.17  Adds `gm` to scope with the ability to perform GraphicsMagick or ImageMagick manipulation
cfs:standard-packages    0.5.3  Filesystem for Meteor, collectionFS

For the second one, since you need to pass a callback, you can't pass the URL direct to the insert call. You have to do:
var fileObj = new FS.File();
fileObj.attachData("http://s00.yaplakal.com/pics/pics_preview/8/0/4/4578408.jpg", function () {
  Posters.insert(fileObj);
});

Not sure about the access denied error. You might have to return true for the allow update, too.

@aldeed thx for your fast answer!
Problem with permission fixed, but with URL not.
I use this code on client event handler:
var fileObj = new FS.File();
                fileObj.attachData($("input[name='poster']").val(), function() {
                    Posters.insert(fileObj, function(err, fileObj) {
                        if (!err) {
                            group.poster = fileObj._id;
                            saveGroup(group);
                        }
                    });
                });

And get a lot errors in console

Like the errors say, you have to set the Access-Control-Allow-Origin header on the server the file is coming from to allow localhost or to allow all origins.

Hm... This server is not under my control and I can't set any headers. In documentation I didn't saw any words about this and think that i can use any url with file extensions... But You say that CollectionsFS can download file only from servers which allow this via Access-Control-Allow-Origin header?
Any solutions for download file on server without setting up headers? (for download from any urls)

+1

Server side download doesn't care about origin iirc. So you could call a server side method.
if (Meteor.isServer){
  Meteor.methods({
    downloadUrl: function (url) {
      Images.insert(url);
    }
  });
}

and do this on the client
Meteor.call('downloadUrl','http://image/url.jpg');

@nooitaf : Agree!
I just played around it and it worked here: https://github.com/vuhpham/pixcloner

Yes, I think about this method too, but trust documentation and advise: "Insert all files in client".
I think documentation need to be changed about URL download file

When you insert a URL on the client, the client sends the URL to the server and the download happens there, so this shouldn't be an issue. But I think we might do a HEAD request from the client to get the content type or file size or something. If that's causing this issue, then we should probably rewrite so that all requests happen on the server.
My initial comment was wrong. Inserting a URL directly should work fine. Might be a bug here.

@aldeed Yes, I think CollectionFS trying download file in client and can't do this, in my opinion all operations with url might be on server.

Still get the same errors that @gigimon was getting. I'm inserting the files from the client.

I think the most important thing right now is to update the documentation. It says that passing a URL on the client will result in the download happening on the server. I've spent about 2 days trying to figure out what's wrong (among other work but still). Since the docs are so confident in this happening, I figured it must be something I'm doing wrong. I just lucked out in that I finally ran across this thread.
Here is the DOC:
https://github.com/CollectionFS/Meteor-CollectionFS#initiate-the-upload
And the offending paragraph:
The most common usage is to pass a File object on the client or a URL on either the client or the server. Note that when you pass a URL on the client, the actual data download from that URL happens on the server, so you don't need to worry about CORS. In fact, we recommend doing all inserts on the client (managing security through allow/deny), unless you are generating the data on the server.


ROSA provider: log the timeout to wait for a cluster to be installed

This PR updates the logging messages for the ROSA provider to include the timeout duration to wait for a cluster to be installed.

/lgtm


Add https:// to target url if it doesn't exists.

Fixes #1

@ItzNotABug Thanks for your contribution, drop in your Twitter handle if possible for a shoutout.

Happy to help.
You can find me as @ItzNotABug on Twitter 😉


Normal TF2 maps when jumping whill proppel you in a random direction

so I decided to put hightower in OF but when i was B-hopping down one of the ramps I was ejected into the Pit and randomly ejected into walls when on other parts of the map. I hope there is A fix to this cause I wanna do a funny on the goofy

also I cant generate a nav mesh

can you get a video of such events?


Support "nested pixi dependencies" (for git dependencies)

Problem description
Problem
I have a package B, with the following pyproject.toml:
[build-system]
requires = ["setuptools >= 61.0"]
build-backend = "setuptools.build_meta"

[project]
name = "core"
version = "0.0.1"
description = "core package"
requires-python = ">=3.9, <3.11"

[tool.pixi.project]
channels = ["conda-forge"]
platforms = ["win-64", "linux-64", "osx-64", "osx-arm64"]

[tool.pixi.pypi-dependencies]
package_a = { git =<EMAIL_ADDRESS>rev = "asdfasdfasfd" }
core = { path = ".", editable = true }

It installs the git dependency package_a, which itself has the following pyproject.toml:
[project]
name = "package_a"
version = "0.1.0"
description = "Add a short description here"
requires-python = "< 3.11"
dependencies = []

[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"

[tool.pixi.project]
channels = ["conda-forge"]
platforms = ["osx-arm64", "linux-64", "win-64"]

[tool.pixi.pypi-dependencies]
package_a = { path = ".", editable = true }
ortools = "*"

[tool.pixi.tasks]

[tool.pixi.dependencies]
pip = ">=24.0,<25"
pytest = ">=8.2.2,<8.3"
python-dotenv = "*"

However, it seems like ortools and python-dotenv are not installed in the environment created with package_b that installs package_a as dependency.
The package_a dependencies are only installed in the environment created when running pixi install in package_a directly.
I just created a minimal reproducible example as screenshot:

Current workarounds

"pip dependencies"

OK, another way would be to add the dependencies as dependencies=[] in normal pyproject.toml format, not leveraging pixi. In that case, the dependencies would be superseded by the pixi dependencies if additionally added in the [pypi.dependencies], but only, when installing the pyproject.toml directly, not as dependency.

"setting all dependencies in the top level pixi pyproject.toml"

This is not very clean, but does the job and avoids pip related dependency resolution problems.

publishing the packages to

Proposed solution
It would be great if one can just reference the respective git revision as dependency and pixi resolves the packages iteratively based on the pixi dependencies.

This is a really high value idea indeed, we previously tempt to refer to this feature as "workspaces" which in theory do exactly this but then from a path instead of a git dependency.
Here is my reply to the discussion (from already some time ago) https://github.com/prefix-dev/pixi/discussions/387#discussioncomment-7253056
What we might already implement more quickly instead of the full building logic mentioned in the discussion is the retrieval of the dependencies from a source dependency, like we can for pypi-dependencies without building it first. Currently you can only depend on a conda or pypi project and  a pixi project is neither but rather a combination.
This comment solves nothing, just giving some background information.

I'm running into this same issue when looking to migrate our python codebase to use Pixi. In our case, we're utilizing a local path instead of a git path
[tool.pixi.pypi-dependencies]
package_a = { path = "../package_a", editable= true}

When trying to create an environment for package b, package a's dependencies (e.g ortools) in the tool.pixi.pypi-dependencies table don't get installed. However, if you instead, put package a's dependencies under the main dependencies, then it does get installed. I assume pixi doesn't resolve dependencies recursively?
Is the solution to just abandon tool.pixi.pypi-dependencies and put everything under dependencies? Although one challenge we have is that we have nested local editable dependencies. e.g in pkg a, we can have also have a dependency on another local pkg
[tool.pixi.pypi-dependencies]
package_d = { path = "../package_d", editable= true}

And AFAIK, you can't quite put this into the normal dependencies format in editable mode?
e.g
dependences = ["package_d @ file://../package_d]

We're working on the pixi build feature, linked to this milestone: https://github.com/prefix-dev/pixi/issues/1654
It's currently moving so fast it's hard to make a good overview, we're also still making breaking changed in the format. So please give us some more time. Beginning next year we'll have a usable preview and we like to get alot of feedback on it. I'll do a bigger announcement on our channels.
To get a sneak peak you could look at some of our examples that work with the workspace logic:

https://github.com/prefix-dev/pixi/blob/main/examples/rich_example/pyproject.toml#L36
https://github.com/prefix-dev/pixi/blob/main/examples/cpp-sdl/pixi.toml


Conditional ACME on demand generation

Hi,
I'm trying to use traefik in a setting where I have a wildcard domain. This is the current behavior:
Client requests https://www.mydomain - www is generated via ACME and www is routed to the correct backend
Client requests https://dummy.mydomain - dummy is generated via ACME and then 404 is sent back as there is no frontend matching this.
What I would like to avoid is that a certificate is generated in step 2. The current behavior makes a DoS attack quite easy as one can just send a handful of Host commands to drain the ACME quota.
I suggest a configuration option that will simply either just close the connection, or maybe present a default certificate in this case.

If you don't have front-end matching, traefik already doesn't generate any certificate.

That's not the behavior I was seeing.
What's the connection behavior expected in that case? Connection drop?

Another issue I've been thinking about but haven't been able to test yet is when the frontend matches, but the backend doesn't. If you have something like {job}.cloud.mydomain.tld that is using Kubernetes, but there is no {job}. This is actually the problem I'm trying to solve.
I'm not 100% I understand how the traefik learns backends from the various sources, so if it's totally insane let me know.

Ouch, due to an update on gorilla/mux https://github.com/gorilla/mux/commit/c329c7d193285eb0aeac7892896766be20a84c4c
I will try to find a workaround.


⚠ Bofrost.lu has degraded performance

In 8aca541, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1372 ms

Resolved: Bofrost.lu performance has improved in ec07195.


update to latest build conventions

Reviewer checklist

[ ] Read the contributing guide
[ ] PR should be motivated, i.e. what does it fix, why, and if relevant, how
[ ] Ensure relevant issues are linked (description should include text like "Fixes #")
[ ] Ensure any appropriate documentation has been added or amended

Coverage: 94.007%. Remained the same when pulling 308f239567ad9bb47d832a92482bd244347811f4 on conventions into 84731d3e1822b9f4632790a91155caf68a3bdece on main.


Queue messages are shown raw in the data table

In 1.13 and earlier, we would apply a base64 decoding to messages in the data table. In 1.14 we're just showing their raw UTF8 value.

Hi @craxal @MRayermannMSFT
We verified this issue on build 20200624.3.
For Base64 encode message, message text shows expected in the data table.

For UTF8 encode message, message text shows as messy code in the data table. The behavior like below:

Add message with content '中文',  the message in data table shows:

Add message with content'12345', the message in data table shows:

Add message with content 'english', the message in data table shows:

@v-xianya In all versions prior to 1.14.0 we always attempted to decode using Base64 in the data table. This was changed at one point to leave strings unencoded (UTF-8). However, it's unclear which encoding most users use, and changing the default would likely look strange for users not expecting it. This bug was logged to make sure we revert to the previous behavior.


Update SkipAwareHookableFeatureTester.php

Please keep the author. Remember about copywright!

Btw, your branch name is not really meaningful :/ Be aware of that in the future.